From 79edfbdb475b74495957d6248ff36c24d42968ad Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 6 Jun 2023 03:25:43 +0300 Subject: [PATCH] fix(illuminate): ignore NvimTree for highlighting --- modules/ui/illuminate/config.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/ui/illuminate/config.nix b/modules/ui/illuminate/config.nix index 0795d9d..dcf9ba3 100644 --- a/modules/ui/illuminate/config.nix +++ b/modules/ui/illuminate/config.nix @@ -10,8 +10,15 @@ in { config = mkIf cfg.enable { vim.startPlugins = ["vim-illuminate"]; - vim.luaConfigRC.vim-illuminate = - nvim.dag.entryAnywhere '' - ''; + vim.luaConfigRC.vim-illuminate = nvim.dag.entryAnywhere '' + require('illuminate').configure({ + filetypes_denylist = { + 'dirvish', + 'fugitive', + 'NvimTree', + 'TelescopePrompt', + }, + }) + ''; }; }