feat: config highlight color

pull/99/head
fm39hz-workstation 2024-05-16 09:16:59 +07:00 committed by fm39hz-laptop
parent 58b8038c6c
commit df92fbde14
2 changed files with 7 additions and 1 deletions

View File

@ -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", "<leader>uh", "<CMD>HighlightColors Toggle<CR>", { desc = "Toggle highlighting color", nowait = true })
-- File management Nvim
map("n", "<leader>op", "<CMD>Oil<CR>", { desc = "Open parent directory" })
map({ "n", "i", "v" }, "<f12>", function()

View File

@ -11,6 +11,9 @@ return {
"brenoprata10/nvim-highlight-colors",
lazy = true,
event = "VeryLazy",
opts = {},
opts = {
enable_named_color = true,
enable_tailwind = true,
},
},
}