fix: enable spelling by default

This commit is contained in:
Renken 2024-08-19 15:36:06 +02:00
parent 61966ae64a
commit e8cbb711e3
Signed by: renken
GPG key ID: 1F2BB159B645E575

View file

@ -109,6 +109,15 @@ vim.opt.number = true
-- Disable mouse mode. -- Disable mouse mode.
vim.opt.mouse = '' vim.opt.mouse = ''
-- Enable spelling.
-- It's better to stick to default spelling shortcuts IMO.
-- `]s` go to next misspelled word.
-- `[s` go to previous misspelled word.
-- `z=` show suggestions list.
-- `zg` mark word as spelled correctly.
vim.opt.spelllang = 'en_us'
vim.opt.spell = true
-- Don't show the mode, since it's already in the status line -- Don't show the mode, since it's already in the status line
vim.opt.showmode = false vim.opt.showmode = false