From 312faec0a27c208da2a017b0e1ab1a6d2d686b5f Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Fri, 3 Jan 2025 15:34:03 +0000 Subject: Neovim conf updates --- neovim/.config/nvim/lua/plugins/cspell.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'neovim/.config/nvim/lua/plugins/cspell.lua') 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, } -- cgit v1.2.3