From 89abb7994172f91f263779ea8d59c386e37d240f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 30 Dec 2024 19:10:25 +0200 Subject: 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. --- lua/onfiletype.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'lua/onfiletype.lua') 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!" -}) -- cgit v1.3.1-23-gd82d