Add basic spell checking in nvim

This commit is contained in:
2025-01-17 01:14:00 +01:00
parent 883a4cd180
commit 037a9d217b
+4
View File
@@ -39,6 +39,10 @@ vim.opt.listchars = {
vim.opt.completeopt = { "menuone", "popup", "noinsert", "fuzzy" }
vim.opt.pumheight = 15
vim.opt.spelloptions = { "camel", "noplainbuffer" }
vim.opt.spelllang = { "en", "cjk", }
vim.opt.spell = true
-- Can't specify this in wordmotion's config due to race conditions
vim.g.wordmotion_nomap = true