Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// nix flake update --commit-lock-file
// ```
// If you do not use Nix, a ZLS maintainer can take care of this.
.minimum_zig_version = "0.16.0-dev.2984+cb7d2b056",
.minimum_zig_version = "0.16.0-dev.3133+5ec8e45f3",
// Must be kept in sync with the `deps.nix` for the Nix flake.
// If you do not use Nix, a ZLS maintainer can take care of this.
.dependencies = .{
Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Server.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ fn codeActionHandler(server: *Server, arena: std.mem.Allocator, request: types.C
defer analyser.deinit();

const only_kinds = if (request.context.only) |kinds| blk: {
var set: std.EnumSet(std.meta.Tag(types.CodeAction.Kind)) = .initEmpty();
var set: std.EnumSet(std.meta.Tag(types.CodeAction.Kind)) = .empty;
for (kinds) |kind| {
set.setPresent(kind, true);
}
Expand Down
2 changes: 1 addition & 1 deletion src/analysis.zig
Original file line number Diff line number Diff line change
Expand Up @@ -6215,7 +6215,7 @@ pub fn innermostScopeAtIndex(
document_scope: *const DocumentScope,
source_index: usize,
) Scope.Index {
return innermostScopeAtIndexWithTag(document_scope, source_index, .initFull()).unwrap().?;
return innermostScopeAtIndexWithTag(document_scope, source_index, .full).unwrap().?;
}

pub fn innermostScopeAtIndexWithTag(
Expand Down
Loading