🔧 Configured spell checker
This commit is contained in:
parent
4812057e5c
commit
5a9dfcbce2
1 changed files with 7 additions and 2 deletions
|
|
@ -27,8 +27,13 @@ vim.opt.signcolumn = "yes"
|
||||||
|
|
||||||
vim.opt.updatetime = 50
|
vim.opt.updatetime = 50
|
||||||
|
|
||||||
vim.opt.spell = true
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
vim.opt.spelllang = { "en_us" }
|
pattern = { "markdown", "text", "tex" },
|
||||||
|
callback = function()
|
||||||
|
vim.opt_local.spell = true
|
||||||
|
vim.opt_local.spelllang = { "en_us" }
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
vim.opt.mouse = "a"
|
vim.opt.mouse = "a"
|
||||||
vim.opt.autoindent = true
|
vim.opt.autoindent = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue