From e47297e7d4ad8dd2343edd93308ab188ae26985d Mon Sep 17 00:00:00 2001 From: Fausto Núñez Alberro Date: Tue, 26 Jan 2021 23:41:57 +0100 Subject: Wrap Neovim-specific groups in has("nvim") --- colors/base16-harmonic-dark.vim | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'colors/base16-harmonic-dark.vim') diff --git a/colors/base16-harmonic-dark.vim b/colors/base16-harmonic-dark.vim index a8ca387..ee4367a 100644 --- a/colors/base16-harmonic-dark.vim +++ b/colors/base16-harmonic-dark.vim @@ -418,12 +418,14 @@ call hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "") call hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "") " Neovim Treesitter highlighting -call hi("TSFunction", s:gui0D, "", s:cterm0D, "", "", "") -call hi("TSKeywordFunction", s:gui0E, "", s:cterm0E, "", "", "") -call hi("TSMethod", s:gui0D, "", s:cterm0D, "", "", "") -call hi("TSProperty", s:gui0A, "", s:cterm0A, "", "", "") -call hi("TSPunctBracket", s:gui0C, "", s:cterm0C, "", "", "") -call hi("TSType", s:gui08, "", s:cterm08, "", "none", "") +if has("nvim") + call hi("TSFunction", s:gui0D, "", s:cterm0D, "", "", "") + call hi("TSKeywordFunction", s:gui0E, "", s:cterm0E, "", "", "") + call hi("TSMethod", s:gui0D, "", s:cterm0D, "", "", "") + call hi("TSProperty", s:gui0A, "", s:cterm0A, "", "", "") + call hi("TSPunctBracket", s:gui0C, "", s:cterm0C, "", "", "") + call hi("TSType", s:gui08, "", s:cterm08, "", "none", "") +endif " LSP highlighting if has("nvim") -- cgit v1.2.3