NVim: spell check

This commit is contained in:
Filippo Berto 2024-07-21 11:10:28 +02:00
parent c9cd277f23
commit 81463526b8
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -428,10 +428,14 @@ let vp = pkgs.vimPlugins; in {
g.mapleader = " "
-- treesitter folding
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
opt.foldmethod = "expr"
opt.foldexpr = "nvim_treesitter#foldexpr()"
-- vim.cmd([[ set nofoldenable]])
vim.opt.foldenable = false
opt.foldenable = false
-- spell checking
opt.spell = true
opt.spelllang = "en_us"
'';
};
}