summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-11-24 18:48:14 +0100
committerBram Moolenaar <Bram@vim.org>2015-11-24 18:48:14 +0100
commit0f6562e9036f889185dff49a75c7fc5ffb28b307 (patch)
tree3fec0e8c765e63d940eb324be8322517c66acd8a /src/option.h
parent2a1b474fd82aff922f18570593972b12feaa2073 (diff)
downloadvim-git-0f6562e9036f889185dff49a75c7fc5ffb28b307.tar.gz
patch 7.4.941v7.4.941
Problem: There is no way to ignore case only for tag searches. Solution: Add the 'tagcase' option. (Gary Johnson)
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/option.h b/src/option.h
index c6a3e6041..d994d2ddd 100644
--- a/src/option.h
+++ b/src/option.h
@@ -820,6 +820,14 @@ static char *(p_swb_values[]) = {"useopen", "usetab", "split", "newtab", "vsplit
#define SWB_NEWTAB 0x008
#define SWB_VSPLIT 0x010
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};
+#endif
+#define TC_FOLLOWIC 0x01
+#define TC_IGNORE 0x02
+#define TC_MATCH 0x04
EXTERN long p_tl; /* 'taglength' */
EXTERN int p_tr; /* 'tagrelative' */
EXTERN char_u *p_tags; /* 'tags' */
@@ -1081,6 +1089,7 @@ enum
, BV_SW
, BV_SWF
, BV_TAGS
+ , BV_TC
, BV_TS
, BV_TW
, BV_TX