fix: close splits when changing projects
This commit is contained in:
parent
725a66e4e2
commit
29e8b4293d
1 changed files with 1 additions and 0 deletions
|
|
@ -460,6 +460,7 @@ const cmds = struct {
|
||||||
{
|
{
|
||||||
self.closing_project = true;
|
self.closing_project = true;
|
||||||
defer self.closing_project = false;
|
defer self.closing_project = false;
|
||||||
|
try close_splits(self, .{});
|
||||||
try self.close_all_editors();
|
try self.close_all_editors();
|
||||||
self.delete_all_buffers();
|
self.delete_all_buffers();
|
||||||
self.clear_find_in_files_results(.diagnostics);
|
self.clear_find_in_files_results(.diagnostics);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue