dotfiles/lua/plugins/nvim-colorizer.lua
2024-09-06 23:22:46 -04:00

12 lines
366 B
Lua

return {
{
'norcalli/nvim-colorizer.lua',
config = function()
-- no need to call this plugin's setup() apparently unless you want automatic buffer
-- attaching based on filetype. and to customize the default options.
vim.keymap.set('n', '<leader>tc', '<Cmd>ColorizerToggle<CR>', { desc = '[T]oggle [C]olor Previewing' })
end,
},
}