From 8726a1a74dc2f4b8900139ab9f00d2f271ecf5c1 Mon Sep 17 00:00:00 2001 From: kalmenn Date: Sun, 7 Jan 2024 18:29:35 +0100 Subject: [PATCH] created config for terminal and disable spellcheck in terminal --- lua/plugins/terminal.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lua/plugins/terminal.lua diff --git a/lua/plugins/terminal.lua b/lua/plugins/terminal.lua new file mode 100644 index 0000000..49ba1a4 --- /dev/null +++ b/lua/plugins/terminal.lua @@ -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 {}