mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 7.4.2230
Problem: There is no equivalent of 'smartcase' for a tag search. Solution: Add value "followscs" and "smart" to 'tagcase'. (Christian Brabandt, closes #712) Turn tagcase test into new style.
This commit is contained in:
@@ -822,11 +822,13 @@ 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