Skip to content

Commit

Permalink
stop insert on close
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Badragan authored and MagicDuck committed May 11, 2024
1 parent 28550f8 commit 40db1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/grug-far/actions/close.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local function close()
vim.cmd('bdelete')
vim.cmd('stopinsert | bdelete')
end

return close

0 comments on commit 40db1a6

Please sign in to comment.