diff options
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/lua/config/keymaps.lua | 2 | ||||
| -rw-r--r-- | nvim/lua/config/options.lua | 2 |
2 files changed, 2 insertions, 2 deletions
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() | |||
| 107 | map("n", "<leader>q", vim.diagnostic.setloclist, opts) | 107 | map("n", "<leader>q", vim.diagnostic.setloclist, opts) |
| 108 | 108 | ||
| 109 | map("n", "<leader>ts", function() | 109 | map("n", "<leader>ts", function() |
| 110 | vim.opt_local.spell = not vim.opt_local.spell:get() | 110 | vim.wo.spell = not vim.wo.spell |
| 111 | end, { desc = "Toggle spell checking" }) | 111 | end, { desc = "Toggle spell checking" }) |
| 112 | 112 | ||
| 113 | map("n", "[d", function() | 113 | 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" | |||
| 87 | 87 | ||
| 88 | -- Timeouts | 88 | -- Timeouts |
| 89 | opt.updatetime = 250 | 89 | opt.updatetime = 250 |
| 90 | opt.timeoutlen = 300 | 90 | opt.timeoutlen = 1000 |
| 91 | 91 | ||
| 92 | -- Dateiformat | 92 | -- Dateiformat |
| 93 | opt.fileformat = "unix" | 93 | opt.fileformat = "unix" |
