add neoterm close autocommand

This commit is contained in:
LordMZTE 2022-06-14 14:46:41 +02:00
parent aeacd9cdef
commit 77fe1f76b3
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -5,3 +5,8 @@ nterm.setup {
mode = "vertical",
noinsert = true,
}
vim.api.nvim_create_autocmd("User", {
pattern = "NeotermTermLeave",
callback = nterm.close,
})