diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-20 16:57:02 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-20 16:57:02 +0200 |
commit | 66e29d7112e437b2b50efe1f82c7e892736d23e4 (patch) | |
tree | a99f9f43e0fc5b56f13cb1426b1fa78f8319632c /src/option.h | |
parent | f04507d132fbcb63999167ec006fc6e700b5af4f (diff) | |
download | vim-git-66e29d7112e437b2b50efe1f82c7e892736d23e4.tar.gz |
patch 7.4.2230v7.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.
Diffstat (limited to 'src/option.h')
-rw-r--r-- | src/option.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h index bee6442c0..c86550fb1 100644 --- a/src/option.h +++ b/src/option.h @@ -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' */ |