Add notice to FAQ about ctags and C projects
This commit is contained in:
parent
d98298ab87
commit
72fe806dc3
@ -2089,6 +2089,10 @@ output of `ctags --version` should list "Exuberant Ctags".
|
||||
Ctags needs to be called with the `--fields=+l` (that's a lowercase `L`, not a
|
||||
one) option because YCM needs the `language:<lang>` field in the tags output.
|
||||
|
||||
NOTE: [Exuberant Ctags][exuberant-ctags] by default sets language tag for `*.h`
|
||||
files as `C++`, which is not correct. If you have C (not C++) project, consider
|
||||
giving parameter `--langmap=c:.c.h` to ctags to see tags from `*.h` files.
|
||||
|
||||
NOTE: Mac OS X comes with "plain" ctags installed by default. `brew install
|
||||
ctags` will get you the Exuberant Ctags version.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user