fix: enable spelling by default
This commit is contained in:
parent
61966ae64a
commit
e8cbb711e3
1 changed files with 9 additions and 0 deletions
9
init.lua
9
init.lua
|
@ -109,6 +109,15 @@ vim.opt.number = true
|
|||
-- Disable mouse mode.
|
||||
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
|
||||
vim.opt.showmode = false
|
||||
|
||||
|
|
Loading…
Reference in a new issue