From f2d802f9514e1b37f24289029451aa604075f931 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Tue, 9 Apr 2024 14:17:02 -0400 Subject: [PATCH] feat(color): add `nvim-highlight-colors` --- .../color/nvim-highlight-colors/README.md | 5 +++++ .../color/nvim-highlight-colors/init.lua | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 lua/astrocommunity/color/nvim-highlight-colors/README.md create mode 100644 lua/astrocommunity/color/nvim-highlight-colors/init.lua diff --git a/lua/astrocommunity/color/nvim-highlight-colors/README.md b/lua/astrocommunity/color/nvim-highlight-colors/README.md new file mode 100644 index 000000000..6ad22c692 --- /dev/null +++ b/lua/astrocommunity/color/nvim-highlight-colors/README.md @@ -0,0 +1,5 @@ +# nvim-highlight-colors + +Highlight colors for neovim + +**Repository:** diff --git a/lua/astrocommunity/color/nvim-highlight-colors/init.lua b/lua/astrocommunity/color/nvim-highlight-colors/init.lua new file mode 100644 index 000000000..03fd603bc --- /dev/null +++ b/lua/astrocommunity/color/nvim-highlight-colors/init.lua @@ -0,0 +1,18 @@ +return { + { "NvChad/nvim-colorizer.lua", enabled = false }, + { + "brenoprata10/nvim-highlight-colors", + event = "User AstroFile", + cmd = "HighlightColors", + dependencies = { + { + "AstroNvim/astrocore", + opts = function(_, opts) + local maps = opts.mappings + maps.n["uz"] = { function() vim.cmd.HighlightColors "Toggle" end, desc = "Toggle color highlight" } + end, + }, + }, + opts = { enabled_named_colors = false }, + }, +}