diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-02-03 21:30:49 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-05 19:03:36 -0500 |
commit | 49e71641650d07c2cda7756e3a8b88e6ec42c1d8 (patch) | |
tree | 9e993889873c7f7231cce519493675c90651ce4a /src/nvim/syntax.c | |
parent | cf663588d97c3128aa6dbcd137f517ce52ad408a (diff) | |
download | rneovim-49e71641650d07c2cda7756e3a8b88e6ec42c1d8.tar.gz rneovim-49e71641650d07c2cda7756e3a8b88e6ec42c1d8.tar.bz2 rneovim-49e71641650d07c2cda7756e3a8b88e6ec42c1d8.zip |
Macro cleanup: USER_HIGHLIGHT
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r-- | src/nvim/syntax.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 3fc004036e..4f67507ea2 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -7174,12 +7174,10 @@ int highlight_changed(void) int attr; char_u *end; int id; -#ifdef USER_HIGHLIGHT char_u userhl[10]; int id_SNC = -1; int id_S = -1; int hlcnt; -#endif static int hl_flags[HLF_COUNT] = HL_FLAGS; need_highlight_changed = FALSE; @@ -7251,12 +7249,10 @@ int highlight_changed(void) return FAIL; attr = syn_id2attr(id); p = end - 1; -#ifdef USER_HIGHLIGHT if (hlf == (int)HLF_SNC) id_SNC = syn_get_final_id(id); else if (hlf == (int)HLF_S) id_S = syn_get_final_id(id); -#endif break; default: return FAIL; } @@ -7267,7 +7263,6 @@ int highlight_changed(void) } } -#ifdef USER_HIGHLIGHT /* Setup the user highlights * * Temporarily utilize 10 more hl entries. Have to be in there @@ -7327,8 +7322,6 @@ int highlight_changed(void) } highlight_ga.ga_len = hlcnt; -#endif /* USER_HIGHLIGHT */ - return OK; } |