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:
Sanchayan Maity 2022-09-29 12:39:06 +05:30
parent c626c1dac2
commit 1ae279fd57
4 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
setlocal spell
setlocal textwidth=72
setlocal iskeyword+=-
setlocal bufhidden=wipe

View File

@ -1,4 +1,3 @@
setlocal spell
setlocal textwidth=80
autocmd! BufWritePost <buffer> :Vale

View File

@ -1,2 +1 @@
setlocal spell
setlocal textwidth=78

View File

@ -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