replace colorizer with ccc

This commit is contained in:
2024-12-02 08:50:22 -05:00
parent 5dd3f0ff59
commit c26b9b9187
3 changed files with 73 additions and 26 deletions
+44
View File
@@ -0,0 +1,44 @@
return {
'uga-rosa/ccc.nvim',
ft = {
'markdown',
'javascript',
'html',
'css',
'python',
'json',
'lua',
'toml',
'yaml',
},
cmd = { 'CccPick', 'CccConvert', 'CccHighlighterToggle', 'CccHighlighterEnable', 'CccHighlighterDisable' },
opts = {
highlighter = {
auto_enable = true,
lsp = true,
update_insert = true,
excludes = {
'NvimTree',
'alpha',
'dashboard',
'help',
'man',
},
},
recognize = {
input = true,
output = true,
},
highlight_mode = 'virtual',
preserve = true,
lsp = true,
--[[ pickers = {
require('ccc').picker.ansi_escape(),
}, ]]
},
config = function(_, opts)
local ccc = require('ccc')
ccc.setup(opts)
end,
}
+23 -24
View File
@@ -1,26 +1,25 @@
return {
'norcalli/nvim-colorizer.lua',
-- event = { 'BufEnter', 'BufNewFile' },
ft = {
'markdown',
'javascript',
'html',
'css',
'python',
'json',
'lua',
'toml',
'yaml',
},
opts = {
'css',
'javascript',
'html',
'markdown',
'python',
'json',
'lua',
'toml',
'yaml',
},
'norcalli/nvim-colorizer.lua',
ft = {
'markdown',
'javascript',
'html',
'css',
'python',
'json',
'lua',
'toml',
'yaml',
},
opts = {
'css',
'javascript',
'html',
'markdown',
'python',
'json',
'lua',
'toml',
'yaml',
},
}
+4
View File
@@ -1,4 +1,8 @@
return {
{
'norcalli/nvim-colorizer.lua',
enabled = false,
},
{
'ziontee113/icon-picker.nvim',
enabled = false,