fix(illuminate): ignore NvimTree for highlighting

This commit is contained in:
NotAShelf 2023-06-06 03:25:43 +03:00
parent c290c2adc3
commit 79edfbdb47
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22

View file

@ -10,8 +10,15 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
vim.startPlugins = ["vim-illuminate"]; vim.startPlugins = ["vim-illuminate"];
vim.luaConfigRC.vim-illuminate = vim.luaConfigRC.vim-illuminate = nvim.dag.entryAnywhere ''
nvim.dag.entryAnywhere '' require('illuminate').configure({
filetypes_denylist = {
'dirvish',
'fugitive',
'NvimTree',
'TelescopePrompt',
},
})
''; '';
}; };
} }