From 5fd36c4892222e97f114d3177cf8a2c65873bf5f Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Mon, 10 Aug 2026 18:45:21 +0200 Subject: neovim: Optionen für spell checking angepasst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/lua/config/keymaps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nvim/lua/config/keymaps.lua') diff --git a/nvim/lua/config/keymaps.lua b/nvim/lua/config/keymaps.lua index a2777e6..9896a57 100644 --- a/nvim/lua/config/keymaps.lua +++ b/nvim/lua/config/keymaps.lua @@ -107,7 +107,7 @@ function M.global() map("n", "q", vim.diagnostic.setloclist, opts) map("n", "ts", function() - vim.opt_local.spell = not vim.opt_local.spell:get() + vim.wo.spell = not vim.wo.spell end, { desc = "Toggle spell checking" }) map("n", "[d", function() -- cgit v1.3