From 0f6562e9036f889185dff49a75c7fc5ffb28b307 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 24 Nov 2015 18:48:14 +0100 Subject: patch 7.4.941 Problem: There is no way to ignore case only for tag searches. Solution: Add the 'tagcase' option. (Gary Johnson) --- src/option.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/option.h') 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 -- cgit v1.2.1