diff options
Diffstat (limited to '.config/nvim/lua/plugins/highlight-colors.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/highlight-colors.lua | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/highlight-colors.lua b/.config/nvim/lua/plugins/highlight-colors.lua new file mode 100644 index 0000000..a0c61b7 --- /dev/null +++ b/.config/nvim/lua/plugins/highlight-colors.lua @@ -0,0 +1,29 @@ +return { + "brenoprata10/nvim-highlight-colors", + cmd = "HighlightColors", + lazy = true, + config = function() + vim.opt.termguicolors = true + require("nvim-highlight-colors").setup { + render = "virtual", + virtual_symbol = "■", + virtual_symbol_prefix = " ", + virtual_symbol_suffix = "", + virtual_symbol_position = "eow", + enable_hex = true, + enable_short_hex = true, + enable_rgb = true, + enable_hsl = true, + enable_var_usage = true, + enable_named_colors = true, + enable_tailwind = false, + custom_colors = { + { label = "%-%-theme%-primary%-color", color = "#0f1219" }, + { label = "%-%-theme%-secondary%-color", color = "#5a5d64" }, + }, + + exclude_filetypes = {}, + exclude_buftypes = {}, + } + end, +} |
