dotfiles/nvim/lua/plugins/nvim-colorizer.lua

12 lines
365 B
Lua
Raw Normal View History

2024-09-06 23:22:46 -04:00
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 = 'Toggle: [C]olor Previewing' })
2024-09-06 23:22:46 -04:00
end,
},
}