commit c3a2f88b635ff28c3d1df0a6074b9947d6ba07eb parent 1acf6321a5d2c55db80efe8aa3f1f833fb40af9a Author: marty <marty@rodney.(none)> Date: Fri, 31 Jul 2009 18:33:06 +1200 set up syntax highlighting even if highlighting rules already exist Diffstat:
| M | plugin/NERD_tree.vim | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim @@ -2183,7 +2183,7 @@ function! s:initNerdTreeInPlace(dir) call s:bindMappings() setfiletype nerdtree " syntax highlighting - if has("syntax") && exists("g:syntax_on") && !has("syntax_items") + if has("syntax") && exists("g:syntax_on") call s:setupSyntaxHighlighting() endif @@ -2416,7 +2416,7 @@ function! s:createTreeWin() call s:bindMappings() setfiletype nerdtree " syntax highlighting - if has("syntax") && exists("g:syntax_on") && !has("syntax_items") + if has("syntax") && exists("g:syntax_on") call s:setupSyntaxHighlighting() endif endfunction
