🔧 Configured spell checker

This commit is contained in:
tomit4 2026-05-12 19:51:41 -07:00
parent 4812057e5c
commit 5a9dfcbce2

View file

@ -27,8 +27,13 @@ vim.opt.signcolumn = "yes"
vim.opt.updatetime = 50
vim.opt.spell = true
vim.opt.spelllang = { "en_us" }
vim.api.nvim_create_autocmd("FileType", {
pattern = { "markdown", "text", "tex" },
callback = function()
vim.opt_local.spell = true
vim.opt_local.spelllang = { "en_us" }
end,
})
vim.opt.mouse = "a"
vim.opt.autoindent = true