aboutsummaryrefslogtreecommitdiff
path: root/colors/base16-shapeshifter.vim
diff options
context:
space:
mode:
Diffstat (limited to 'colors/base16-shapeshifter.vim')
-rw-r--r--colors/base16-shapeshifter.vim14
1 files changed, 8 insertions, 6 deletions
diff --git a/colors/base16-shapeshifter.vim b/colors/base16-shapeshifter.vim
index 47c53ca..62c85a2 100644
--- a/colors/base16-shapeshifter.vim
+++ b/colors/base16-shapeshifter.vim
@@ -418,12 +418,14 @@ call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
" Neovim Treesitter highlighting
-call <sid>hi("TSFunction", s:gui0D, "", s:cterm0D, "", "", "")
-call <sid>hi("TSKeywordFunction", s:gui0E, "", s:cterm0E, "", "", "")
-call <sid>hi("TSMethod", s:gui0D, "", s:cterm0D, "", "", "")
-call <sid>hi("TSProperty", s:gui0A, "", s:cterm0A, "", "", "")
-call <sid>hi("TSPunctBracket", s:gui0C, "", s:cterm0C, "", "", "")
-call <sid>hi("TSType", s:gui08, "", s:cterm08, "", "none", "")
+if has("nvim")
+ call <sid>hi("TSFunction", s:gui0D, "", s:cterm0D, "", "", "")
+ call <sid>hi("TSKeywordFunction", s:gui0E, "", s:cterm0E, "", "", "")
+ call <sid>hi("TSMethod", s:gui0D, "", s:cterm0D, "", "", "")
+ call <sid>hi("TSProperty", s:gui0A, "", s:cterm0A, "", "", "")
+ call <sid>hi("TSPunctBracket", s:gui0C, "", s:cterm0C, "", "", "")
+ call <sid>hi("TSType", s:gui08, "", s:cterm08, "", "none", "")
+endif
" LSP highlighting
if has("nvim")