diff --git a/init.lua b/init.lua index ddb1128d..ee0bc109 100644 --- a/init.lua +++ b/init.lua @@ -147,6 +147,9 @@ vim.opt.splitbelow = true vim.opt.list = true vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } +-- Spell Check +vim.opt.spell = true +vim.opt.spelllang = 'en_US' -- Preview substitutions live, as you type! vim.opt.inccommand = 'split' diff --git a/lua/custom/plugins/spellworm.lua b/lua/custom/plugins/spellworm.lua new file mode 100644 index 00000000..4f225ab3 --- /dev/null +++ b/lua/custom/plugins/spellworm.lua @@ -0,0 +1,5 @@ +return { + 'ravibrock/spellwarn.nvim', + event = 'VeryLazy', + config = true, +}