summary refs log tree commit diff
path: root/.vim/lua/internal/spell.lua
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2024-11-25 13:30:37 +0100
committerRobert Günzler <r@gnzler.io>2024-11-25 13:58:25 +0100
commit23de12baba9fbfc4ca24581b37c374aa5345cc25 (patch)
treee4b3c421bad572eb85a1089eaad44dc3059ab6e6 /.vim/lua/internal/spell.lua
parent18e3848110da0a59843058927ea04b496f5db2a5 (diff)
update nvim config
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.vim/lua/internal/spell.lua')
-rw-r--r--.vim/lua/internal/spell.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/.vim/lua/internal/spell.lua b/.vim/lua/internal/spell.lua
deleted file mode 100644
index 3c37dad..0000000
--- a/.vim/lua/internal/spell.lua
+++ /dev/null
@@ -1,8 +0,0 @@
-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', '<C-l>', require('telescope.builtin').spell_suggest)
-vim.keymap.set('n', '<C-l>', [[<c-g>u<esc>[s1z=`]a<c-g>u]])