NVim: spell check
This commit is contained in:
parent
c9cd277f23
commit
81463526b8
1 changed files with 7 additions and 3 deletions
|
|
@ -428,10 +428,14 @@ let vp = pkgs.vimPlugins; in {
|
||||||
g.mapleader = " "
|
g.mapleader = " "
|
||||||
|
|
||||||
-- treesitter folding
|
-- treesitter folding
|
||||||
vim.opt.foldmethod = "expr"
|
opt.foldmethod = "expr"
|
||||||
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||||
-- vim.cmd([[ set nofoldenable]])
|
-- vim.cmd([[ set nofoldenable]])
|
||||||
vim.opt.foldenable = false
|
opt.foldenable = false
|
||||||
|
|
||||||
|
-- spell checking
|
||||||
|
opt.spell = true
|
||||||
|
opt.spelllang = "en_us"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue