nvim: init: Enable spellsitter
Enable spell check globally and remove file type specific settings. Use the new treesitter powered spellsitter.
This commit is contained in:
parent
c626c1dac2
commit
1ae279fd57
4 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
|||
setlocal spell
|
||||
setlocal textwidth=72
|
||||
setlocal iskeyword+=-
|
||||
setlocal bufhidden=wipe
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
setlocal spell
|
||||
setlocal textwidth=80
|
||||
|
||||
autocmd! BufWritePost <buffer> :Vale
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
setlocal spell
|
||||
setlocal textwidth=78
|
||||
|
|
|
@ -33,6 +33,8 @@ vim.o.scrolloff = 999
|
|||
vim.o.formatoptions = "crqn1j"
|
||||
vim.o.signcolumn = "auto:1-2"
|
||||
vim.o.spelllang = "en_gb"
|
||||
vim.o.spelloptions = "camel,noplainbuffer"
|
||||
vim.o.spell = true
|
||||
|
||||
-- Disable providers we do not give a shit about
|
||||
vim.g.loaded_python3_provider = 0
|
||||
|
|
Loading…
Reference in a new issue