From 037a9d217b8e08aa2d4681d5717cc68888276bdf Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 17 Jan 2025 01:14:00 +0100 Subject: [PATCH] Add basic spell checking in nvim --- nvim/lua/settings.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nvim/lua/settings.lua b/nvim/lua/settings.lua index e58e9b6..639dfe7 100644 --- a/nvim/lua/settings.lua +++ b/nvim/lua/settings.lua @@ -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