Listing the ctags options YCM needs
This commit is contained in:
parent
326fbccc55
commit
80dd5c2317
10
README.md
10
README.md
@ -742,8 +742,11 @@ the `tagfiles()` Vim function which examines the `tags` Vim option. See `:h
|
|||||||
YCM will re-index your tags files if it detects that they have been modified.
|
YCM will re-index your tags files if it detects that they have been modified.
|
||||||
|
|
||||||
The only supported tag format is the [Exuberant Ctags format][ctags-format]. The
|
The only supported tag format is the [Exuberant Ctags format][ctags-format]. The
|
||||||
format from "plain" ctags is NOT supported. See the _FAQ_ for pointers if YCM
|
format from "plain" ctags is NOT supported. Ctags needs to be called with the
|
||||||
does not appear to read your tag files.
|
`--fields=+l` option (that's a lowercase `L`, not a one) because YCM needs the
|
||||||
|
`language:<lang>` field in the tags output.
|
||||||
|
|
||||||
|
See the _FAQ_ for pointers if YCM does not appear to read your tag files.
|
||||||
|
|
||||||
Default: `1`
|
Default: `1`
|
||||||
|
|
||||||
@ -1149,6 +1152,9 @@ files since the only supported tag format is the [Exuberant Ctags
|
|||||||
format][ctags-format]. The format from "plain" ctags is NOT supported. The
|
format][ctags-format]. The format from "plain" ctags is NOT supported. The
|
||||||
output of `ctags --version` should list "Exuberant Ctags".
|
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: 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…
x
Reference in New Issue
Block a user