Skip to content

Commit

Permalink
Fix buffer close
Browse files Browse the repository at this point in the history
  • Loading branch information
Shatur committed May 27, 2024
1 parent d47179b commit af3cee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/buffers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local function close_buffer(command)
end

if vim.api.nvim_buf_get_option(buffer, 'buftype'):len() ~= 0 or stickybuf.should_auto_pin(buffer) or filettype == 'NeogitCommitMessage' then
vim.cmd.quit()
vim.cmd.quit(command)
return
end

Expand Down

0 comments on commit af3cee2

Please sign in to comment.