nvim: turn on spell check

This commit is contained in:
inkch 2024-03-24 19:51:22 +09:00
parent 97a3b51027
commit 83976749be

View File

@ -36,6 +36,7 @@ vim.opt.list = true
vim.opt.listchars = "tab:>>,trail:_,eol:$,multispace:··,extends:>,precedes:<,nbsp:%" vim.opt.listchars = "tab:>>,trail:_,eol:$,multispace:··,extends:>,precedes:<,nbsp:%"
vim.opt.encoding = "utf-8" vim.opt.encoding = "utf-8"
vim.opt.fenc = "utf-8" vim.opt.fenc = "utf-8"
vim.opt.spell = true
if vim.fn.executable('rg') then if vim.fn.executable('rg') then
vim.opt.grepprg = 'rg --vimgrep --smart-case --hidden' vim.opt.grepprg = 'rg --vimgrep --smart-case --hidden'