yolokai: Sync with some changes in upstream nvim-highlite

This commit is contained in:
Sanchayan Maity 2020-10-18 19:19:54 +05:30
parent 843f04fdc5
commit b96f253235

View file

@ -197,6 +197,12 @@ local highlight_groups = {
LspDiagnosticsInformationFloating = 'InfoMsg', LspDiagnosticsInformationFloating = 'InfoMsg',
LspDiagnosticsInformationSign = '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 ]] --[[ 4.2.12. Cursor ]]
Cursor = {bg=white, fg=black, style='inverse'}, Cursor = {bg=white, fg=black, style='inverse'},
CursorIM = 'Cursor', CursorIM = 'Cursor',
@ -349,7 +355,7 @@ local highlight_groups = {
texMathZoneX = 'Number', texMathZoneX = 'Number',
texMathZoneY = 'Number', texMathZoneY = 'Number',
--[[ 4.3.20. Python ]] --[[ 4.3.14. Python ]]
pythonBrackets = 'Delimiter' , pythonBrackets = 'Delimiter' ,
pythonBuiltinFunc = 'Operator' , pythonBuiltinFunc = 'Operator' ,
pythonBuiltinObj = 'Type' , pythonBuiltinObj = 'Type' ,
@ -370,38 +376,41 @@ local highlight_groups = {
pythonSpaceError = 'pythonError' , pythonSpaceError = 'pythonError' ,
pythonStatement = 'Statement' , pythonStatement = 'Statement' ,
--[[ 4.3.21. Ruby ]] --[[ 4.3.15. Ruby ]]
rubyClass = 'Structure', rubyClass = 'Structure',
rubyDefine = 'Define' , rubyDefine = 'Define' ,
rubyInterpolationDelimiter = 'Delimiter', rubyInterpolationDelimiter = 'Delimiter',
--[[ 4.3.22. Rust ]] --[[ 4.3.16. Rust ]]
rustKeyword = 'Keyword' , rustKeyword = 'Keyword' ,
rustModPath = 'Include' , rustModPath = 'Include' ,
rustScopeDecl = 'Delimiter' , rustScopeDecl = 'Delimiter' ,
rustTrait = 'StorageClass', rustTrait = 'StorageClass',
--[[ 4.3.23. Scala ]] --[[ 4.3.17. Scala ]]
scalaKeyword = 'Keyword' , scalaKeyword = 'Keyword' ,
scalaNameDefinition = 'Identifier', scalaNameDefinition = 'Identifier',
--[[ 4.3.24. shell ]] --[[ 4.3.18. shell ]]
shFunctionKey = 'Function' , shDerefSimple = 'SpecialChar',
shLoop = 'Repeat' , shFunctionKey = 'Function',
shLoop = 'Repeat',
shParen = 'Delimiter',
shQuote = 'Delimiter',
shSet = 'Statement', shSet = 'Statement',
shTestOpr = 'Debug' , shTestOpr = 'Debug',
--[[ 4.3.25. Solidity ]] --[[ 4.3.19. Solidity ]]
solBuiltinType = 'Type' , solBuiltinType = 'Type' ,
solContract = 'Typedef' , solContract = 'Typedef' ,
solContractName = 'Function', solContractName = 'Function',
--[[ 4.3.26. TOML ]] --[[ 4.3.20. TOML ]]
tomlComment = 'Comment' , tomlComment = 'Comment' ,
tomlKey = 'Label' , tomlKey = 'Label' ,
tomlTable = 'StorageClass', tomlTable = 'StorageClass',
--[[ 4.3.27. VimScript ]] --[[ 4.3.21. VimScript ]]
helpSpecial = 'Special', helpSpecial = 'Special',
vimFgBgAttrib = 'Constant', vimFgBgAttrib = 'Constant',
vimHiCterm = 'Label', vimHiCterm = 'Label',
@ -413,14 +422,14 @@ local highlight_groups = {
vimOption = 'Define', vimOption = 'Define',
vimSetEqual = 'Operator', vimSetEqual = 'Operator',
--[[ 4.3.28. XML ]] --[[ 4.3.22. XML ]]
xmlAttrib = 'Label' , xmlAttrib = 'Label' ,
xmlEndTag = 'Exception', xmlEndTag = 'Exception',
xmlEqual = 'Operator' , xmlEqual = 'Operator' ,
xmlTag = 'Delimiter', xmlTag = 'Delimiter',
xmlTagName = 'Define' , xmlTagName = 'Define' ,
--[[ 4.3.29 Haskell ]] --[[ 4.3.23 Haskell ]]
haskellType = 'Type' , haskellType = 'Type' ,
haskellIdentifier = 'Identifier', haskellIdentifier = 'Identifier',
haskellOperators = 'Operator' , haskellOperators = 'Operator' ,
@ -429,7 +438,7 @@ local highlight_groups = {
haskellImportKeywords = 'Include' , haskellImportKeywords = 'Include' ,
haskellStatement = 'Statement' , haskellStatement = 'Statement' ,
--[[ 4.3.30 Lua ]] --[[ 4.3.24 Lua ]]
luaBraces = 'Structure', luaBraces = 'Structure',
luaBrackets = 'Delimiter', luaBrackets = 'Delimiter',
luaBuiltin = 'Keyword', luaBuiltin = 'Keyword',
@ -446,6 +455,26 @@ local highlight_groups = {
luaSpecialTable = 'Identifier', luaSpecialTable = 'Identifier',
luaSpecialValue = 'Function', 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 --[[ 4.4. Plugins
Everything in this section is OPTIONAL. Feel free to remove everything 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 here if you don't want to define it, or add more if there's something