diff options
author | Michaël Ball <michael.ball@krotosaudio.com> | 2025-01-03 15:34:03 +0000 |
---|---|---|
committer | Michaël Ball <michael.ball@krotosaudio.com> | 2025-01-03 15:34:03 +0000 |
commit | 312faec0a27c208da2a017b0e1ab1a6d2d686b5f (patch) | |
tree | 5833b9daa1cec82e6df636bfc36ab158bc15e6d2 /neovim/.config/nvim/lua/plugins/cspell.lua | |
parent | 278736ec4eef5cfe2759a55d3c8a1da68353eec1 (diff) |
Neovim conf updates
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, } |