diff options
author | Fausto Núñez Alberro <fausto.nunez@mailbox.org> | 2021-01-26 23:41:57 +0100 |
---|---|---|
committer | Fausto Núñez Alberro <fausto.nunez@mailbox.org> | 2021-01-26 23:41:57 +0100 |
commit | e47297e7d4ad8dd2343edd93308ab188ae26985d (patch) | |
tree | 1d0df5511d580d81a700e000f478d84e4b7ed1e7 /colors/base16-humanoid-light.vim | |
parent | de37e213c844cd6b3fe9d3d24b1b767cc0e8731e (diff) |
Wrap Neovim-specific groups in has("nvim")
Diffstat (limited to 'colors/base16-humanoid-light.vim')
-rw-r--r-- | colors/base16-humanoid-light.vim | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/colors/base16-humanoid-light.vim b/colors/base16-humanoid-light.vim index 589a8b1..f72c0b9 100644 --- a/colors/base16-humanoid-light.vim +++ b/colors/base16-humanoid-light.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") |