diff --git a/.config/nvim/lua/plugins/ccc.lua b/.config/nvim/lua/plugins/ccc.lua index 68d0e4f..737e452 100644 --- a/.config/nvim/lua/plugins/ccc.lua +++ b/.config/nvim/lua/plugins/ccc.lua @@ -1,28 +1,31 @@ return { 'uga-rosa/ccc.nvim', - ft = { - 'markdown', - 'javascript', - 'html', - 'css', - 'python', - 'json', - 'lua', - 'toml', - 'yaml', - }, - cmd = { 'CccPick', 'CccConvert', 'CccHighlighterToggle', 'CccHighlighterEnable', 'CccHighlighterDisable' }, + event = 'VeryLazy', + -- cmd = { 'CccPick', 'CccConvert', 'CccHighlighterToggle', 'CccHighlighterEnable', 'CccHighlighterDisable' }, opts = { highlighter = { auto_enable = true, lsp = true, update_insert = true, + filetypes = { + 'markdown', + 'javascript', + 'html', + 'css', + 'python', + 'json', + 'lua', + 'toml', + 'yaml', + 'asciidoc', + }, excludes = { + --[[ 'lazy', 'NvimTree', 'alpha', 'dashboard', 'help', - 'man', + 'man', ]] }, }, recognize = { @@ -41,4 +44,4 @@ return { local ccc = require('ccc') ccc.setup(opts) end, -} \ No newline at end of file +}