From c3c110650d8f18ae08e2731e1f1e055f46f00eb0 Mon Sep 17 00:00:00 2001 From: kalmenn Date: Tue, 9 Jan 2024 10:06:54 +0100 Subject: [PATCH] spell: make zg and zw local --- .gitignore | 2 ++ lua/sets.lua | 1 + 2 files changed, 3 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5df353c --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Local file for good words additions +spell/add*.add* diff --git a/lua/sets.lua b/lua/sets.lua index 1142ef0..817ab13 100644 --- a/lua/sets.lua +++ b/lua/sets.lua @@ -35,6 +35,7 @@ vim.opt.incsearch = true -- spellchecking vim.opt.spelllang = { "en_us", "fr" } vim.opt.spell = true +vim.opt.spellfile = "spell/add.utf-8.add" -- stuff vim.opt.mousemodel = "extend"