Skip to content

Commit

Permalink
fix autocomplete for .star files (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
withered-magic committed Apr 13, 2024
1 parent 08b99c3 commit 591e154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/starpls_hir/src/def/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ impl<'a> Resolver<'a> {

let api_context = match self.file.api_context(self.db) {
Some(api_context) => api_context,
None => return Default::default(),
None => return names,
};

// Add names from builtins, taking the current Bazel API context into account.
Expand Down

0 comments on commit 591e154

Please sign in to comment.