mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
update syntax
This commit is contained in:
parent
86ce0b04b1
commit
fd21691d4c
1 changed files with 16 additions and 28 deletions
|
|
@ -20,10 +20,10 @@ theme.loadSyntax = function()
|
||||||
-- Ignore = { fg = '' },
|
-- Ignore = { fg = '' },
|
||||||
Include = { fg = p.iris },
|
Include = { fg = p.iris },
|
||||||
Keyword = { fg = p.pine },
|
Keyword = { fg = p.pine },
|
||||||
Label = { fg = p.pine },
|
Label = { fg = p.foam },
|
||||||
Macro = { fg = p.iris },
|
Macro = { fg = p.iris },
|
||||||
Number = { fg = p.gold },
|
Number = { fg = p.gold },
|
||||||
Operator = { fg = p.pine },
|
Operator = { fg = p.subtle },
|
||||||
PreCondit = { fg = p.iris },
|
PreCondit = { fg = p.iris },
|
||||||
PreProc = { fg = p.iris },
|
PreProc = { fg = p.iris },
|
||||||
Repeat = { fg = p.pine },
|
Repeat = { fg = p.pine },
|
||||||
|
|
@ -40,19 +40,6 @@ theme.loadSyntax = function()
|
||||||
Type = { fg = p.foam },
|
Type = { fg = p.foam },
|
||||||
Typedef = { fg = p.foam },
|
Typedef = { fg = p.foam },
|
||||||
Underlined = { fg = p.foam, style = 'underline' },
|
Underlined = { fg = p.foam, style = 'underline' },
|
||||||
|
|
||||||
-- htmlH1 = { fg = '' },
|
|
||||||
-- htmlH2 = { fg = '' },
|
|
||||||
-- htmlH3 = { fg = '' },
|
|
||||||
-- htmlH4 = { fg = '' },
|
|
||||||
-- htmlH5 = { fg = '' },
|
|
||||||
-- htmlLink = { fg = '' },
|
|
||||||
-- markdownH1 = { fg = '' },
|
|
||||||
-- markdownH1Delimeter = { fg = '' },
|
|
||||||
-- markdownH2 = { fg = '' },
|
|
||||||
-- markdownH2Delimeter = { fg = '' },
|
|
||||||
-- markdownH3 = { fg = '' },
|
|
||||||
-- markdownH3Delimeter = { fg = '' },
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return syntax
|
return syntax
|
||||||
|
|
@ -155,14 +142,14 @@ theme.loadTreesitter = function()
|
||||||
local treesitter = {
|
local treesitter = {
|
||||||
-- TSAnnotation = {},
|
-- TSAnnotation = {},
|
||||||
-- TSAttribute = {},
|
-- TSAttribute = {},
|
||||||
-- TSBoolean = {},
|
TSBoolean = { fg = p.rose },
|
||||||
-- TSCharacter = {},
|
-- TSCharacter = {},
|
||||||
TSComment = { fg = p.subtle },
|
TSComment = { fg = p.subtle, style = 'italic' },
|
||||||
-- TSConditional = {},
|
-- TSConditional = {},
|
||||||
TSConstBuiltin = { fg = p.love },
|
TSConstBuiltin = { fg = p.love },
|
||||||
-- TSConstMacro = {},
|
-- TSConstMacro = {},
|
||||||
-- TSConstant = {},
|
TSConstant = { fg = p.foam },
|
||||||
TSConstructor = { fg = p.text },
|
TSConstructor = { fg = p.foam },
|
||||||
-- TSEmphasis = {},
|
-- TSEmphasis = {},
|
||||||
-- TSError = {},
|
-- TSError = {},
|
||||||
-- TSException = {},
|
-- TSException = {},
|
||||||
|
|
@ -170,20 +157,21 @@ theme.loadTreesitter = function()
|
||||||
-- TSFloat = {},
|
-- TSFloat = {},
|
||||||
TSFuncBuiltin = { fg = p.love },
|
TSFuncBuiltin = { fg = p.love },
|
||||||
-- TSFuncMacro = {},
|
-- TSFuncMacro = {},
|
||||||
-- TSFunction = {},
|
TSFunction = { fg = p.rose },
|
||||||
-- TSInclude = {},
|
TSInclude = { fg = p.pine },
|
||||||
-- TSKeyword = {},
|
TSKeyword = { fg = p.pine },
|
||||||
-- TSKeywordFunction = {},
|
-- TSKeywordFunction = {},
|
||||||
-- TSLabel = {},
|
TSKeywordOperator = { fg = p.pine },
|
||||||
|
TSLabel = { fg = p.foam },
|
||||||
-- TSLiteral = {},
|
-- TSLiteral = {},
|
||||||
-- TSMethod = {},
|
-- TSMethod = {},
|
||||||
-- TSNamespace = {},
|
-- TSNamespace = {},
|
||||||
-- TSNone = {},
|
-- TSNone = {},
|
||||||
-- TSNumber = {},
|
-- TSNumber = {},
|
||||||
-- TSOperator = {},
|
TSOperator = { fg = p.pine },
|
||||||
-- TSParameter = {},
|
TSParameter = { fg = p.iris, style = 'italic' },
|
||||||
-- TSParameterReference = {},
|
-- TSParameterReference = {},
|
||||||
-- TSProperty = {},
|
TSProperty = { fg = p.iris, style = 'italic' },
|
||||||
TSPunctBracket = { fg = p.subtle },
|
TSPunctBracket = { fg = p.subtle },
|
||||||
TSPunctDelimiter = { fg = p.subtle },
|
TSPunctDelimiter = { fg = p.subtle },
|
||||||
TSPunctSpecial = { fg = p.subtle },
|
TSPunctSpecial = { fg = p.subtle },
|
||||||
|
|
@ -199,9 +187,9 @@ theme.loadTreesitter = function()
|
||||||
-- TSTitle = {},
|
-- TSTitle = {},
|
||||||
-- TSType = {},
|
-- TSType = {},
|
||||||
-- TSTypeBuiltin = {},
|
-- TSTypeBuiltin = {},
|
||||||
-- TSURI = {},
|
TSURI = { fg = p.gold, style = 'underline' },
|
||||||
-- TSUnderline = {},
|
-- TSUnderline = {},
|
||||||
-- TSVariable = {},
|
TSVariable = { fg = p.text, style = 'italic' },
|
||||||
TSVariableBuiltin = { fg = p.love },
|
TSVariableBuiltin = { fg = p.love },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue