add nvim-colorizer
This commit is contained in:
parent
dc90a7dd71
commit
706ac2ace6
|
@ -27,6 +27,7 @@
|
|||
"nvim-ansible": { "branch": "main", "commit": "9c3b4a771b8c8d7b4f2171466464d978cb3846f7" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "19606af7c039271d5aa96bceff101e7523af3136" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
|
||||
"nvim-dap": { "branch": "master", "commit": "281a2e4cd1e7a17cea7ecb1745d84a8ab1249925" },
|
||||
"nvim-dap-ui": { "branch": "master", "commit": "1c351e4e417d4691da12948b6ecf966936a56d28" },
|
||||
"nvim-lint": { "branch": "master", "commit": "debabca63c0905b59ce596a55a8e33eafdf66342" },
|
||||
|
|
11
lua/plugins/nvim-colorizer.lua
Normal file
11
lua/plugins/nvim-colorizer.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
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,
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue