diff options
| author | moxie <moxie.git@posteo.net> | 2025-09-30 12:27:44 +0300 |
|---|---|---|
| committer | moxie <moxie.git@posteo.net> | 2025-09-30 12:27:44 +0300 |
| commit | 1e27d1c7b25e4d28a25c0fa2c4e6e33a66b9072e (patch) | |
| tree | 7169509b4d5dfce3ed25fe333cc506a40f5c90f2 /.config/nvim/lua/plugins/highlight-colors.lua | |
| parent | 51797f743fe74d1723ca62085f92e8c5e953038b (diff) | |
add nvim configs
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, +} |
