aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/gruvbox/languages.lua32
1 files changed, 32 insertions, 0 deletions
diff --git a/lua/gruvbox/languages.lua b/lua/gruvbox/languages.lua
index 1765c5a..394f52d 100644
--- a/lua/gruvbox/languages.lua
+++ b/lua/gruvbox/languages.lua
@@ -2,6 +2,7 @@
local base = require("gruvbox.base")
local styles = require("gruvbox.settings").styles
local utils = require("gruvbox.utils")
+local colors = require("gruvbox.colors")
-- xml
local xml = {
@@ -135,6 +136,36 @@ local haskell = {
haskellPatternKeyword = base.GruvboxBlue,
}
+local html = {
+ htmlTag = base.GruvboxAquaBold,
+ htmlEndTag = base.GruvboxAquaBold,
+ htmlTagName = base.GruvboxBlue,
+ htmlArg = base.GruvboxOrange,
+ htmlTagN = base.GruvboxFg1,
+ htmlSpecialTagName = base.GruvboxBlue,
+ htmlLink = { fg = colors.fg4, gui = styles.underline },
+ htmlSpecialChar = "GruvboxRed",
+ htmlBold = { fg = colors.fg0, bg = colors.bg0, gui = styles.bold },
+ htmlBoldUnderline = {
+ fg = colors.fg0,
+ bg = colors.bg0,
+ gui = table.concat({ styles.bold, styles.underline }, ","),
+ },
+ htmlBoldItalic = { fg = colors.fg0, bg = colors.bg0, gui = table.concat({ styles.bold, styles.italic }, ",") },
+ htmlBoldUnderlineItalic = {
+ fg = colors.fg0,
+ bg = colors.bg0,
+ gui = table.concat({ styles.bold, styles.underline, styles.italic }, ","),
+ },
+ htmlUnderline = { fg = colors.fg0, bg = colors.bg0, gui = styles.underline },
+ htmlUnderlineItalic = {
+ fg = colors.fg0,
+ bg = colors.bg0,
+ gui = table.concat({ styles.underline, styles.italic }, ","),
+ },
+ htmlItalic = { fg = colors.fg0, bg = colors.bg0, gui = styles.italic },
+}
+
local langs = utils.merge({
xml,
purescript,
@@ -144,6 +175,7 @@ local langs = utils.merge({
elixir,
markdown,
haskell,
+ html,
})
return langs