diff --git a/lua/custom/plugins/ltex.lua b/lua/custom/plugins/ltex.lua index 9aa7f86..ec9a6b2 100644 --- a/lua/custom/plugins/ltex.lua +++ b/lua/custom/plugins/ltex.lua @@ -91,7 +91,7 @@ return { server_opts = LTEX_SETTINGS, -- or use lspconfig regularly } map('tS', function() - vim.opt.spell = true -- manually enable spell with `set spell` or `ts` + vim.cmd 'set spell' vim.opt.spelllang = 'en,de_de' vim.opt.spellsuggest = 'double,50,timeout:5000' vim.cmd 'LspStart ltex'