diff --git a/README.md b/README.md index 1a2222dc..b490eba6 100644 --- a/README.md +++ b/README.md @@ -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:` 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.