Commit Graph

14 Commits

Author SHA1 Message Date
Strahinja Val Markovic
df161cff52 Adding more include paths to YCM's ycm_extra_conf 2014-01-04 20:45:52 -08:00
Tom Hacohen
3543b4dd8d Fixed usage of database file in example .ycm_extra_conf.py.
Checking the path is set is not enough, we should also check the path
exists. This allows people to have a general-purpose
.ycm_extra_conf.conf that automatically loads a database file if exists,
and falls back to the manual flags if not.
2013-11-27 15:41:03 +00:00
Strahinja Val Markovic
757602becf Workaround for header flags with compilation db 2013-11-17 14:17:20 -08:00
Strahinja Val Markovic
1c1fb47d7e Fixing typo in YCM extra conf comment 2013-11-17 13:18:11 -08:00
Strahinja Val Markovic
6e782508b3 Now possible to sent Vim data to FlagsForFile func
Fixes #612.
2013-10-26 16:22:43 -07:00
Strahinja Val Markovic
612ab6e43a Fixing possible issue with remove() on StringVec
There is not remove() on StringVec so we need to make sure we are always
handling a list.

Fixes #347.
2013-05-29 19:05:38 -07:00
Strahinja Val Markovic
45cbc7da7f Calling PrepareClangFlags is not needed anymore
ycm_extra_conf.py files used to import clang_helpers and then use the
PrepareClangFlags function; this is now unnecessary since the logic from that
function has been moved to flags.py. The old PrepareClangFlags function is still
there (it just returns the flags it gets) for the sake of backwards
compatibility with old ycm_extra_conf.py files.
2013-05-19 10:48:23 -07:00
Strahinja Val Markovic
cb7ee5e3c1 ycm_extra_conf.py file now in the public domain
It was never supposed to be licensed under the GPL since it's effectively
example code (that's also used for YCM compilation flags, but still).

No one has ever edited this file except me, Strahinja Val Markovic, and thus I
can release it into the public domain.
2013-04-26 15:25:19 -07:00
Strahinja Val Markovic
4f12febb44 Clarifying that ycm_extra_conf needs to be changed
Also tweaked YCM's extra conf file so that the flags variable that needs to be
changed is closer to the top of the file.
2013-03-20 18:31:49 -07:00
Strahinja Val Markovic
051fc85be4 Adding a missing include path to YCM's extra conf 2013-02-10 20:03:56 -08:00
Strahinja Val Markovic
dffe471a93 Comment typo fix; fixes #31 2013-02-05 12:59:37 -08:00
Strahinja Val Markovic
fe92678221 Renaming a poorly named variable 2013-01-29 21:40:42 -08:00
Strahinja Val Markovic
7fc3c47101 Fixing the database-using example code 2013-01-24 19:18:09 -08:00
Strahinja Val Markovic
19637cadda Renaming ycm_clang_options to ycm_extra_conf 2013-01-24 09:59:21 -08:00