mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 09:56:31 +00:00
vim-patch:7.4.2230 (#6080)
Problem: There is no equivalent of 'smartcase' for a tag search.
Solution: Add value "followscs" and "smart" to 'tagcase'. (Christian
Brabandt, closes vim/vim#712) Turn tagcase test into new style.
66e29d7112
This commit is contained in:

committed by
Justin M. Keyes

parent
039c7ab607
commit
0ef2b07d69
@@ -601,11 +601,14 @@ EXTERN int p_tbs; ///< 'tagbsearch'
|
||||
EXTERN char_u *p_tc; ///< 'tagcase'
|
||||
EXTERN unsigned tc_flags; ///< flags from 'tagcase'
|
||||
#ifdef IN_OPTION_C
|
||||
static char *(p_tc_values[]) = { "followic", "ignore", "match", NULL };
|
||||
static char *(p_tc_values[]) =
|
||||
{ "followic", "ignore", "match", "followscs", "smart", NULL };
|
||||
#endif
|
||||
#define TC_FOLLOWIC 0x01
|
||||
#define TC_IGNORE 0x02
|
||||
#define TC_MATCH 0x04
|
||||
#define TC_FOLLOWSCS 0x08
|
||||
#define TC_SMART 0x10
|
||||
EXTERN long p_tl; ///< 'taglength'
|
||||
EXTERN int p_tr; ///< 'tagrelative'
|
||||
EXTERN char_u *p_tags; ///< 'tags'
|
||||
|
Reference in New Issue
Block a user