From df92fbde140c54d0cc733acc77d6a99e24f5e158 Mon Sep 17 00:00:00 2001 From: fm39hz-workstation Date: Thu, 16 May 2024 09:16:59 +0700 Subject: [PATCH] feat: config highlight color --- lua/config/keymaps.lua | 3 +++ lua/plugins/theme.lua | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index 37fab7c..682ef18 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -7,6 +7,9 @@ local map = vim.keymap.set -- Global keymaps map({ "n", "v" }, ";", ":", { desc = "Enter command mode", noremap = true, nowait = true }) +-- Theme +map("n", "uh", "HighlightColors Toggle", { desc = "Toggle highlighting color", nowait = true }) + -- File management Nvim map("n", "op", "Oil", { desc = "Open parent directory" }) map({ "n", "i", "v" }, "", function() diff --git a/lua/plugins/theme.lua b/lua/plugins/theme.lua index eb68a2d..3399eb6 100644 --- a/lua/plugins/theme.lua +++ b/lua/plugins/theme.lua @@ -11,6 +11,9 @@ return { "brenoprata10/nvim-highlight-colors", lazy = true, event = "VeryLazy", - opts = {}, + opts = { + enable_named_color = true, + enable_tailwind = true, + }, }, }