diff --git a/lua/rose-pine/theme.lua b/lua/rose-pine/theme.lua index bb92032..7e4e9ca 100644 --- a/lua/rose-pine/theme.lua +++ b/lua/rose-pine/theme.lua @@ -20,10 +20,10 @@ theme.loadSyntax = function() -- Ignore = { fg = '' }, Include = { fg = p.iris }, Keyword = { fg = p.pine }, - Label = { fg = p.pine }, + Label = { fg = p.foam }, Macro = { fg = p.iris }, Number = { fg = p.gold }, - Operator = { fg = p.pine }, + Operator = { fg = p.subtle }, PreCondit = { fg = p.iris }, PreProc = { fg = p.iris }, Repeat = { fg = p.pine }, @@ -40,19 +40,6 @@ theme.loadSyntax = function() Type = { fg = p.foam }, Typedef = { fg = p.foam }, 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 @@ -155,14 +142,14 @@ theme.loadTreesitter = function() local treesitter = { -- TSAnnotation = {}, -- TSAttribute = {}, - -- TSBoolean = {}, + TSBoolean = { fg = p.rose }, -- TSCharacter = {}, - TSComment = { fg = p.subtle }, + TSComment = { fg = p.subtle, style = 'italic' }, -- TSConditional = {}, TSConstBuiltin = { fg = p.love }, -- TSConstMacro = {}, - -- TSConstant = {}, - TSConstructor = { fg = p.text }, + TSConstant = { fg = p.foam }, + TSConstructor = { fg = p.foam }, -- TSEmphasis = {}, -- TSError = {}, -- TSException = {}, @@ -170,20 +157,21 @@ theme.loadTreesitter = function() -- TSFloat = {}, TSFuncBuiltin = { fg = p.love }, -- TSFuncMacro = {}, - -- TSFunction = {}, - -- TSInclude = {}, - -- TSKeyword = {}, + TSFunction = { fg = p.rose }, + TSInclude = { fg = p.pine }, + TSKeyword = { fg = p.pine }, -- TSKeywordFunction = {}, - -- TSLabel = {}, + TSKeywordOperator = { fg = p.pine }, + TSLabel = { fg = p.foam }, -- TSLiteral = {}, -- TSMethod = {}, -- TSNamespace = {}, -- TSNone = {}, -- TSNumber = {}, - -- TSOperator = {}, - -- TSParameter = {}, + TSOperator = { fg = p.pine }, + TSParameter = { fg = p.iris, style = 'italic' }, -- TSParameterReference = {}, - -- TSProperty = {}, + TSProperty = { fg = p.iris, style = 'italic' }, TSPunctBracket = { fg = p.subtle }, TSPunctDelimiter = { fg = p.subtle }, TSPunctSpecial = { fg = p.subtle }, @@ -199,9 +187,9 @@ theme.loadTreesitter = function() -- TSTitle = {}, -- TSType = {}, -- TSTypeBuiltin = {}, - -- TSURI = {}, + TSURI = { fg = p.gold, style = 'underline' }, -- TSUnderline = {}, - -- TSVariable = {}, + TSVariable = { fg = p.text, style = 'italic' }, TSVariableBuiltin = { fg = p.love }, }