diff options
author | Rob Pilling <robpilling@gmail.com> | 2019-10-10 22:06:45 +0100 |
---|---|---|
committer | Rob Pilling <robpilling@gmail.com> | 2019-10-22 20:13:02 +0100 |
commit | 194f7bfacea934177d524197127242947bd28471 (patch) | |
tree | d13ac87810663c783907e96c8a9a691630755ddf /src/nvim/tag.h | |
parent | e284b7233fb459a7a6d4ce0f98371b34b3639d2b (diff) | |
download | rneovim-194f7bfacea934177d524197127242947bd28471.tar.gz rneovim-194f7bfacea934177d524197127242947bd28471.tar.bz2 rneovim-194f7bfacea934177d524197127242947bd28471.zip |
vim-patch:8.1.1228: not possible to process tags with a function
Problem: Not possible to process tags with a function.
Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes vim/vim#4010)
https://github.com/vim/vim/commit/45e18cbdc40afd8144d20dcc07ad2d981636f4c9
Diffstat (limited to 'src/nvim/tag.h')
-rw-r--r-- | src/nvim/tag.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/nvim/tag.h b/src/nvim/tag.h index a8fddd05da..9f671043b3 100644 --- a/src/nvim/tag.h +++ b/src/nvim/tag.h @@ -20,20 +20,21 @@ #define DT_LTAG 11 /* tag using location list */ #define DT_FREE 99 /* free cached matches */ -/* - * flags for find_tags(). - */ -#define TAG_HELP 1 /* only search for help tags */ -#define TAG_NAMES 2 /* only return name of tag */ -#define TAG_REGEXP 4 /* use tag pattern as regexp */ -#define TAG_NOIC 8 /* don't always ignore case */ -#define TAG_CSCOPE 16 /* cscope tag */ -#define TAG_VERBOSE 32 /* message verbosity */ -#define TAG_INS_COMP 64 /* Currently doing insert completion */ -#define TAG_KEEP_LANG 128 /* keep current language */ +// +// flags for find_tags(). +// +#define TAG_HELP 1 // only search for help tags +#define TAG_NAMES 2 // only return name of tag +#define TAG_REGEXP 4 // use tag pattern as regexp +#define TAG_NOIC 8 // don't always ignore case +#define TAG_CSCOPE 16 // cscope tag +#define TAG_VERBOSE 32 // message verbosity +#define TAG_INS_COMP 64 // Currently doing insert completion +#define TAG_KEEP_LANG 128 // keep current language +#define TAG_NO_TAGFUNC 256 // do not use 'tagfunc' -#define TAG_MANY 300 /* When finding many tags (for completion), - find up to this many tags */ +#define TAG_MANY 300 // When finding many tags (for completion), + // find up to this many tags /* * Structure used for get_tagfname(). |