From 2d2009413f8be624a7cca95cf702e32d9315cbef Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Fri, 14 Oct 2022 20:57:03 +0200 Subject: vim: move custom modules under internal/ --- .vim/lua/internal/spell.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .vim/lua/internal/spell.lua (limited to '.vim/lua/internal/spell.lua') diff --git a/.vim/lua/internal/spell.lua b/.vim/lua/internal/spell.lua new file mode 100644 index 0000000..57cbad2 --- /dev/null +++ b/.vim/lua/internal/spell.lua @@ -0,0 +1,9 @@ + +vim.opt_local.spell = true +vim.opt.spellfile = vim.fn['spellfile#WritableSpellDir']() .. '/spellfile.utf-8.add' +vim.opt.spellcapcheck = '' +vim.opt.spelloptions = {'camel'} +vim.opt.spellsuggest = 'double' + +vim.keymap.set('n', '', require('telescope.builtin').spell_suggest) +vim.keymap.set('n', '', [[u[s1z=`]au]]) -- cgit 1.4.1