From 042cceb9f79d76f2c7e89e9f5df169d9bb7a2cb9 Mon Sep 17 00:00:00 2001 From: Michael Chris Lopez Date: Wed, 8 Sep 2021 10:47:59 +0800 Subject: [PATCH] more tree-sitter --- colors/zenbones.vim | 5 ++++- lua/zenbones/init.lua | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/colors/zenbones.vim b/colors/zenbones.vim index e807306..5875ab6 100644 --- a/colors/zenbones.vim +++ b/colors/zenbones.vim @@ -117,7 +117,6 @@ highlight SpellRare guifg=#974352 guibg=NONE guisp=NONE gui=undercurl highlight Statement guifg=#2C363C guibg=NONE guisp=NONE gui=bold highlight StatusLine guifg=#2C363C guibg=#D1C7C3 guisp=NONE gui=NONE highlight StatusLineNC guifg=#596A76 guibg=#DAD3CF guisp=NONE gui=NONE -highlight TSTag guifg=#4D5C65 guibg=NONE guisp=NONE gui=bold highlight TabLine guifg=#2C363C guibg=#D1C7C3 guisp=NONE gui=italic highlight TabLineSel guifg=NONE guibg=NONE guisp=NONE gui=bold highlight TelescopeMatching guifg=#88507D guibg=NONE guisp=NONE gui=bold @@ -181,7 +180,11 @@ highlight! link SignColumn LineNr highlight! link Sneak Search highlight! link SneakLabel WildMenu highlight! link SpellLocal SpellCap +highlight! link TSDanger Error +highlight! link TSNote LspDiagnosticsDefaultInformation +highlight! link TSTag Special highlight! link TSVariable Identifier +highlight! link TSWarning WarningMsg highlight! link TabLineFill StatusLineNC highlight! link TelescopeBorder FloatBorder highlight! link TelescopeSelection CursorLine diff --git a/lua/zenbones/init.lua b/lua/zenbones/init.lua index 81743fe..1b0fe9f 100644 --- a/lua/zenbones/init.lua +++ b/lua/zenbones/init.lua @@ -239,7 +239,7 @@ local theme = lush(function() TSVariable { Identifier }, -- Any variable name that does not have another highlight. -- TSVariableBuiltin { }; -- Variable names that are defined by the languages, like `this` or `self`. - TSTag { fg = c.stone.li(20), gui = "bold" }, -- Tags like html tag names. + TSTag { Special }, -- Tags like html tag names. -- TSTagDelimiter { }; -- Tag delimiter like `<` `>` `/` -- TSText { }; -- For strings considered text in a markup language. -- TSEmphasis { }; -- For text to be represented with emphasis. @@ -249,6 +249,10 @@ local theme = lush(function() -- TSLiteral { }; -- Literal text. -- TSURI { }; -- Any URI like a link or email. + TSNote { LspDiagnosticsDefaultInformation }, + TSWarning { WarningMsg }, + TSDanger { Error }, + -- Syntax diffAdded { fg = c.leaf }, diffRemoved { fg = c.rose },