From 1e27d1c7b25e4d28a25c0fa2c4e6e33a66b9072e Mon Sep 17 00:00:00 2001 From: moxie Date: Tue, 30 Sep 2025 12:27:44 +0300 Subject: add nvim configs --- .config/nvim/lua/plugins/highlight-colors.lua | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .config/nvim/lua/plugins/highlight-colors.lua (limited to '.config/nvim/lua/plugins/highlight-colors.lua') 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, +} -- cgit v1.2.3