fix: 🐛specify filetypes so highlighter isn't on when it shouldn't be

This commit is contained in:
2024-12-05 08:32:26 -05:00
parent 2c486ca4c4
commit ccc8b52008
+16 -13
View File
@@ -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 = {