Merge pull request #714 from Techatrix/fs-completion-fix
fix file system completion crash
This commit is contained in:
commit
6358c5b23e
@ -1434,7 +1434,7 @@ fn completeFileSystemStringLiteral(allocator: std.mem.Allocator, store: *const D
|
||||
}
|
||||
|
||||
var old = document_dir_path;
|
||||
document_dir_path = document_dir_path.dir.openIterableDir(subpath, .{}) catch break :fsc // NOTE: Is this even safe lol?
|
||||
document_dir_path = document_dir_path.dir.openIterableDir(subpath, .{}) catch break :fsc; // NOTE: Is this even safe lol?
|
||||
old.close();
|
||||
|
||||
subpath_present = true;
|
||||
|
Loading…
Reference in New Issue
Block a user