From b96f2532355f80d9f9ea87bbadd0eca3b17825f1 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Sun, 18 Oct 2020 19:19:54 +0530 Subject: [PATCH] yolokai: Sync with some changes in upstream nvim-highlite --- nvim/.config/nvim/colors/yolokai.vim | 57 +++++++++++++++++++++------- 1 file changed, 43 insertions(+), 14 deletions(-) diff --git a/nvim/.config/nvim/colors/yolokai.vim b/nvim/.config/nvim/colors/yolokai.vim index 1c0b3de..dc18f3b 100644 --- a/nvim/.config/nvim/colors/yolokai.vim +++ b/nvim/.config/nvim/colors/yolokai.vim @@ -197,6 +197,12 @@ local highlight_groups = { LspDiagnosticsInformationFloating = 'InfoMsg', LspDiagnosticsInformationSign = 'InfoMsg', + LspDiagnosticsUnderline = {style={'undercurl', color=white}}, + LspDiagnosticsUnderlineError = {style={'undercurl', color=red}}, + LspDiagnosticsUnderlineHint = {style={'undercurl', color=purple}}, + LspDiagnosticsUnderlineInfo = {style={'undercurl', color=pink}}, + LspDiagnosticsUnderlineWarning = {style={'undercurl', color=red}}, + --[[ 4.2.12. Cursor ]] Cursor = {bg=white, fg=black, style='inverse'}, CursorIM = 'Cursor', @@ -349,7 +355,7 @@ local highlight_groups = { texMathZoneX = 'Number', texMathZoneY = 'Number', - --[[ 4.3.20. Python ]] + --[[ 4.3.14. Python ]] pythonBrackets = 'Delimiter' , pythonBuiltinFunc = 'Operator' , pythonBuiltinObj = 'Type' , @@ -370,38 +376,41 @@ local highlight_groups = { pythonSpaceError = 'pythonError' , pythonStatement = 'Statement' , - --[[ 4.3.21. Ruby ]] + --[[ 4.3.15. Ruby ]] rubyClass = 'Structure', rubyDefine = 'Define' , rubyInterpolationDelimiter = 'Delimiter', - --[[ 4.3.22. Rust ]] + --[[ 4.3.16. Rust ]] rustKeyword = 'Keyword' , rustModPath = 'Include' , rustScopeDecl = 'Delimiter' , rustTrait = 'StorageClass', - --[[ 4.3.23. Scala ]] + --[[ 4.3.17. Scala ]] scalaKeyword = 'Keyword' , scalaNameDefinition = 'Identifier', - --[[ 4.3.24. shell ]] - shFunctionKey = 'Function' , - shLoop = 'Repeat' , + --[[ 4.3.18. shell ]] + shDerefSimple = 'SpecialChar', + shFunctionKey = 'Function', + shLoop = 'Repeat', + shParen = 'Delimiter', + shQuote = 'Delimiter', shSet = 'Statement', - shTestOpr = 'Debug' , + shTestOpr = 'Debug', - --[[ 4.3.25. Solidity ]] + --[[ 4.3.19. Solidity ]] solBuiltinType = 'Type' , solContract = 'Typedef' , solContractName = 'Function', - --[[ 4.3.26. TOML ]] + --[[ 4.3.20. TOML ]] tomlComment = 'Comment' , tomlKey = 'Label' , tomlTable = 'StorageClass', - --[[ 4.3.27. VimScript ]] + --[[ 4.3.21. VimScript ]] helpSpecial = 'Special', vimFgBgAttrib = 'Constant', vimHiCterm = 'Label', @@ -413,14 +422,14 @@ local highlight_groups = { vimOption = 'Define', vimSetEqual = 'Operator', - --[[ 4.3.28. XML ]] + --[[ 4.3.22. XML ]] xmlAttrib = 'Label' , xmlEndTag = 'Exception', xmlEqual = 'Operator' , xmlTag = 'Delimiter', xmlTagName = 'Define' , - --[[ 4.3.29 Haskell ]] + --[[ 4.3.23 Haskell ]] haskellType = 'Type' , haskellIdentifier = 'Identifier', haskellOperators = 'Operator' , @@ -429,7 +438,7 @@ local highlight_groups = { haskellImportKeywords = 'Include' , haskellStatement = 'Statement' , - --[[ 4.3.30 Lua ]] + --[[ 4.3.24 Lua ]] luaBraces = 'Structure', luaBrackets = 'Delimiter', luaBuiltin = 'Keyword', @@ -446,6 +455,26 @@ local highlight_groups = { luaSpecialTable = 'Identifier', luaSpecialValue = 'Function', + --[[ 4.3.25. SQL ]] + sqlKeyword = 'Keyword', + sqlParen = 'Delimiter', + sqlSpecial = 'Constant', + sqlStatement = 'Statement', + sqlParenFunc = 'Function', + + --[[ 4.3.26. dos INI ]] + dosiniHeader = 'Title', + + --[[ 4.3.27. Crontab ]] + crontabDay = 'StorageClass', + crontabDow = 'String', + crontabHr = 'Number', + crontabMin = 'Float', + crontabMnth = 'Structure', + + --[[ 4.3.28. PlantUML ]] + plantumlColonLine = {}, + --[[ 4.4. Plugins Everything in this section is OPTIONAL. Feel free to remove everything here if you don't want to define it, or add more if there's something