add html styles

This commit is contained in:
mvllow 2021-08-08 13:35:04 -05:00
commit 4aa79b9d9f

View file

@ -43,6 +43,14 @@ 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' },
-- html
htmlArg = { fg = p.iris },
htmlEndTag = { fg = p.subtle },
htmlLink = { fg = p.text },
htmlTag = { fg = p.subtle },
htmlTagN = { fg = p.love },
htmlTagName = { fg = p.foam },
} }
return syntax return syntax
@ -192,23 +200,25 @@ theme.loadTreesitter = function()
TSPunctSpecial = { fg = p.subtle }, TSPunctSpecial = { fg = p.subtle },
-- TSRepeat = {}, -- TSRepeat = {},
-- TSStrike = {}, -- TSStrike = {},
-- TSString = {}, TSString = { fg = p.gold },
TSStringEscape = { fg = p.pine }, TSStringEscape = { fg = p.pine },
-- TSStringRegex = {}, -- TSStringRegex = {},
-- TSSymbol = {}, -- TSSymbol = {},
TSTag = { fg = p.foam }, TSTag = { fg = p.foam },
TSTagDelimiter = { fg = p.subtle }, TSTagDelimiter = { fg = p.subtle },
-- TSText = {}, TSText = { fg = p.text },
-- TSTitle = {}, -- TSTitle = {},
-- TSType = {}, -- TSType = {},
-- TSTypeBuiltin = {}, -- TSTypeBuiltin = {},
TSURI = { fg = p.gold, style = 'underline' }, TSURI = { fg = p.gold },
-- TSUnderline = {}, -- TSUnderline = {},
TSVariable = { TSVariable = {
fg = p.text, fg = p.text,
style = vim.g.rose_pine_enable_italics and 'italic', style = vim.g.rose_pine_enable_italics and 'italic',
}, },
TSVariableBuiltin = { fg = p.love }, TSVariableBuiltin = { fg = p.love },
-- html
} }
return treesitter return treesitter