Improve spellcheck in neovim

Turn it off by default as too many buffers won't need it.
Instead enable explicitly for expected buffers.
This commit is contained in:
Daniel Siepmann 2024-02-28 12:18:58 +01:00
parent 83a2b5aeeb
commit 349d6db1f9
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 5 additions and 1 deletions

View file

@ -1 +1,4 @@
syn spell toplevel
setlocal spell
setlocal commentstring=//\ %s

View file

@ -1,5 +1,6 @@
syn spell toplevel
setlocal spell
setlocal commentstring=//\ %s
setlocal foldmethod=indent
setlocal omnifunc=v:lua.vim.lsp.omnifunc

View file

@ -1 +1 @@
set spell spelllang=en spelloptions+=camel
set nospell spelllang=en spelloptions+=camel