From 85e5eebc09242bcdefe1a06386ec186a3b2fd0ce Mon Sep 17 00:00:00 2001 From: Ravi Brock <66334356+ravibrock@users.noreply.github.com> Date: Mon, 10 Jun 2024 09:23:01 -0400 Subject: [PATCH] docs: add info about Neovim spell config #4 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 707776a..843942c 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ I recommend using [Lazy.nvim](https://github.com/folke/lazy.nvim): config = true, } ``` -You may also want to add the word "spellwarn" to your Neovim dictionary. This can be done by putting the cursor onto "spellwarn" and hitting `zg`. +Note that this uses Neovim's built-in spellchecking. This requires putting `vim.opt.spell = true` and `vim.opt.spelllang = [YOUR LANGUAGE HERE]` somewhere in your Neovim config if you haven't already. You may also want to add the word "spellwarn" to your Neovim dictionary. This can be done by putting the cursor onto "spellwarn" and hitting `zg`. ## Configuration Pass any of the following options to `require("spellwarn").setup()`: