From 4aa79b9d9fd5413f10d99106e97cff53bd71ceb6 Mon Sep 17 00:00:00 2001 From: mvllow Date: Sun, 8 Aug 2021 13:35:04 -0500 Subject: [PATCH] add html styles --- lua/rose-pine/theme.lua | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/lua/rose-pine/theme.lua b/lua/rose-pine/theme.lua index 6c2c899..8cdc22a 100644 --- a/lua/rose-pine/theme.lua +++ b/lua/rose-pine/theme.lua @@ -43,6 +43,14 @@ theme.loadSyntax = function() Type = { fg = p.foam }, Typedef = { fg = p.foam }, 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 @@ -192,23 +200,25 @@ theme.loadTreesitter = function() TSPunctSpecial = { fg = p.subtle }, -- TSRepeat = {}, -- TSStrike = {}, - -- TSString = {}, + TSString = { fg = p.gold }, TSStringEscape = { fg = p.pine }, -- TSStringRegex = {}, -- TSSymbol = {}, TSTag = { fg = p.foam }, TSTagDelimiter = { fg = p.subtle }, - -- TSText = {}, + TSText = { fg = p.text }, -- TSTitle = {}, -- TSType = {}, -- TSTypeBuiltin = {}, - TSURI = { fg = p.gold, style = 'underline' }, + TSURI = { fg = p.gold }, -- TSUnderline = {}, TSVariable = { fg = p.text, style = vim.g.rose_pine_enable_italics and 'italic', }, TSVariableBuiltin = { fg = p.love }, + + -- html } return treesitter