diff options
| author | Robert Günzler <r@gnzler.io> | 2022-02-09 00:02:58 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-02-09 00:02:58 +0100 |
| commit | 70778189e839b74f4a4b6dc890796e6d7e83aba6 (patch) | |
| tree | c01105369c0639387aec05db119b2e3fb98781ee /.vim/lua | |
| parent | 4a607242e449a812c60d3cc29aa8478ad970beb7 (diff) | |
vim: adjust spell settings
Diffstat (limited to '.vim/lua')
| -rw-r--r-- | .vim/lua/spell.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.vim/lua/spell.lua b/.vim/lua/spell.lua index 885b721..6ab157c 100644 --- a/.vim/lua/spell.lua +++ b/.vim/lua/spell.lua @@ -1,8 +1,11 @@ -vim.opt.spell = true +vim.opt_local.spell = true -- vim.opt.spelllang = 'de_de,en_en' vim.opt.spelllang = 'en_en' vim.opt.spellfile = vim.fn.stdpath('data') .. '/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]]) |