Summary Files Commits Branches @commit @diff @stats
path: root / lua / onfiletype.lua
diff options
context:
space:
mode:
Commit89abb7994172f91f263779ea8d59c386e37d240f (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-12-30 19:10:25 +0200
Committer
 Syndamia <kamen@syndamia.com>
2024-12-30 19:10:25 +0200
Filesd781151459105a2ce84d6b985b65968f3540ca97 /lua/onfiletype.lua
anderson-89abb7994172f91f263779ea8d59c386e37d240f.tar
anderson-89abb7994172f91f263779ea8d59c386e37d240f.tar.gz
anderson-89abb7994172f91f263779ea8d59c386e37d240f.zip
Parentacab48d509e066e3072787fe039ca5bc226cfd94 (diff)
fix(onfiletype): Remove quit command on TermClose
This used to be needed because quitting a terminal wouldn't close the corresponding split. Now it does.
1 files changed, 0 insertions, 3 deletions
-rw-r--r--lua/onfiletype.lua3
diff --git a/lua/onfiletype.lua b/lua/onfiletype.lua
index c814a3b..efa69ac 100644
--- a/lua/onfiletype.lua
+++ b/lua/onfiletype.lua
@@ -4,6 +4,3 @@ vim.api.nvim_create_autocmd({ "TermOpen", "BufEnter" }, {
pattern = "term://*",
command = "setlocal nonu | startinsert",
})
-vim.api.nvim_create_autocmd("TermClose", {
- command = "quit!"
-})