diff options
| Commit | 89abb7994172f91f263779ea8d59c386e37d240f (patch) | |
|---|---|---|
| Author | 2024-12-30 19:10:25 +0200 | |
| Committer | 2024-12-30 19:10:25 +0200 | |
| Files | d781151459105a2ce84d6b985b65968f3540ca97 /lua/onfiletype.lua | |
| anderson-89abb7994172f91f263779ea8d59c386e37d240f.tar anderson-89abb7994172f91f263779ea8d59c386e37d240f.tar.gz anderson-89abb7994172f91f263779ea8d59c386e37d240f.zip | ||
| Parent | acab48d509e066e3072787fe039ca5bc226cfd94 (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.lua | 3 |
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!" -}) |
