Skip to content

Commit

Permalink
fix: not delete main buffer, unload main buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhongjia committed Feb 7, 2025
1 parent b14c091 commit 16cb561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/LspUI/lib/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ end
--- @param buffer_id integer
M.delete_buffer = function(buffer_id)
api.nvim_buf_delete(buffer_id, {
force = true,
unload = true,
})
end

Expand Down

0 comments on commit 16cb561

Please sign in to comment.