markdownH2Delimiter = { fg = nord.red },
markdownH3Delimiter = { fg = nord.green },
}
+
+ syntax.Comment = {fg = nord.comments}
+ syntax.Conditional = {fg = nord.purple} -- normal if, then, else, endif, switch, etc.
+ syntax.Keyword = {fg = nord.purple} -- normal for, do, while, etc.
+ syntax.Repeat = {fg = nord.purple} -- normal any other keyword
+ syntax.Function = {fg = nord.blue}
+ Identifier = {fg = nord.gray}; -- any variable name
return syntax
TSLiteral = { fg = nord.fg }, -- Literal text.
TSURI = { fg = nord.link }, -- Any URI like a link or email.
}
+
+ treesitter.TSComment= { fg = nord.comments }
+ treesitter.TSConditional = { fg = nord.purple } -- For keywords related to conditionnals.
+ treesitter.TSKeyword = { fg = nord.purple } -- For keywords that don't fall in previous categories.
+ treesitter.TSRepeat = { fg = nord.purple } -- For keywords related to loops.
+ treesitter.TSKeywordFunction = { fg = nord.purple }
+ treesitter.TSFunction = { fg = nord.blue } -- For fuction (calls and definitions).
+ treesitter.TSMethod = { fg = nord.blue } -- For method calls and definitions.
+ treesitter.TSFuncBuiltin = { fg = nord.cyan }
+ treesitter.TSVariable = { fg = nord.gray } -- Any variable name that does not have another highlight.
+ treesitter.TSVariableBuiltin = { fg = nord.gray }
+
return treesitter
end