replace colorizer with ccc
This commit is contained in:
@@ -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,
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
return {
|
||||
'norcalli/nvim-colorizer.lua',
|
||||
-- event = { 'BufEnter', 'BufNewFile' },
|
||||
ft = {
|
||||
'markdown',
|
||||
'javascript',
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
return {
|
||||
{
|
||||
'norcalli/nvim-colorizer.lua',
|
||||
enabled = false,
|
||||
},
|
||||
{
|
||||
'ziontee113/icon-picker.nvim',
|
||||
enabled = false,
|
||||
|
||||
Reference in New Issue
Block a user