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

12 lines
365 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 = 'Toggle: [C]olor Previewing' })
end,
},
}