diff options
Diffstat (limited to 'neovim/.config/nvim/lua/plugins/cspell.lua')
-rw-r--r-- | neovim/.config/nvim/lua/plugins/cspell.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/neovim/.config/nvim/lua/plugins/cspell.lua b/neovim/.config/nvim/lua/plugins/cspell.lua index 7293326..33931b5 100644 --- a/neovim/.config/nvim/lua/plugins/cspell.lua +++ b/neovim/.config/nvim/lua/plugins/cspell.lua @@ -12,7 +12,11 @@ return { sources = { cspell.diagnostics, cspell.code_actions, - } + }, + should_attach = function(bufnr) + local bufname = vim.api.nvim_buf_get_name(bufnr) + return not bufname == 'gen.nvim' + end, } end, } |