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 +- nvim/lua/config/options.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'nvim/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() diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index ba97f75..227475a 100644 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -87,7 +87,7 @@ opt.clipboard = "unnamedplus" -- Timeouts opt.updatetime = 250 -opt.timeoutlen = 300 +opt.timeoutlen = 1000 -- Dateiformat opt.fileformat = "unix" -- cgit v1.3