1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 11:30:28 +01:00

fixed the deprecated --extra to --extras

This commit is contained in:
chocoladisco
2018-08-15 13:34:35 +02:00
parent 387bbadda9
commit db1b710289
2 changed files with 3 additions and 3 deletions

View File

@@ -1091,7 +1091,7 @@ function! s:ExecuteCtagsOnFile(fname, realfname, typeinfo) abort
\ '--format=2',
\ '--excmd=pattern',
\ '--fields=nksSaf',
\ '--extra=',
\ '--extras=',
\ '--file-scope=yes',
\ '--sort=no',
\ '--append=no'

View File

@@ -962,7 +962,7 @@ kind2scope: A dictionary describing the mapping of tag kinds (in their
int var;
};
< We then run ctags in the following way: >
ctags -f - --format=2 --excmd=pattern --extra= --fields=nksaSmt test.cpp
ctags -f - --format=2 --excmd=pattern --extras= --fields=nksaSmt test.cpp
< Then the output for the variable "var" would look like this: >
var tmp.cpp /^ int var;$/;" kind:m line:11 class:Foo access:private
< This shows that the scope name for an entry in a C++ class is
@@ -1266,7 +1266,7 @@ try running ctags manually to see whether ctags reports the wrong information
or whether that information is correct and Tagbar does something wrong. To run
ctags manually execute the following command in a terminal:
>
ctags -f - --format=2 --excmd=pattern --extra= --fields=nksaSmt myfile
ctags -f - --format=2 --excmd=pattern --extras= --fields=nksaSmt myfile
<
If you set the |g:tagbar_ctags_bin| variable you probably have to use the same
value here instead of simply "ctags".