created config for terminal and disable spellcheck in terminal

This commit is contained in:
kalmenn 2024-01-07 18:29:35 +01:00
parent fb7c11497d
commit 8726a1a74d
Signed by: kalmenn
GPG key ID: F500055C44BC3834

8
lua/plugins/terminal.lua Normal file
View file

@ -0,0 +1,8 @@
vim.api.nvim_create_autocmd("TermOpen", {
group = vim.api.nvim_create_augroup("UserTerminalConfig", {}),
callback = function(ev)
vim.opt_local.spell = false
end,
})
return {}