diff options
| author | Ellison Leão <ellisonleao@gmail.com> | 2022-01-08 19:09:09 -0300 |
|---|---|---|
| committer | Ellison Leão <ellisonleao@gmail.com> | 2022-01-08 19:09:09 -0300 |
| commit | bf9646a62e59234f68ec55d28d5de6a9ba2c0260 (patch) | |
| tree | 3f5d09dae71ed987b77b9a3a846c0179f1957cda /lua | |
| parent | dbfc522716eceb0a7adbaa8ecb503f10b75f3b24 (diff) | |
| download | gruvbox-bf9646a62e59234f68ec55d28d5de6a9ba2c0260.tar.gz gruvbox-bf9646a62e59234f68ec55d28d5de6a9ba2c0260.tar.xz | |
adding html hightlights
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/gruvbox/languages.lua | 32 |
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 |
