Auto merge of #1724 - mkevac:patch-1, r=Valloric
Add notice to FAQ about ctags and C projects <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/1724) <!-- Reviewable:end -->
This commit is contained in:
commit
2bc1ec80be
@ -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
|
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.
|
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++`. 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
|
NOTE: Mac OS X comes with "plain" ctags installed by default. `brew install
|
||||||
ctags` will get you the Exuberant Ctags version.
|
ctags` will get you the Exuberant Ctags version.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user