We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7257c8b commit 4cee0e4Copy full SHA for 4cee0e4
analysis/src/Commands.ml
@@ -40,6 +40,7 @@ let completion ~path ~line ~col ~currentFile =
40
match NewCompletions.getCompletable ~textOpt ~pos with
41
| None -> []
42
| Some (completable, rawOpens) ->
43
+ (* Only perform expensive operation if there are completables *)
44
NewCompletions.computeCompletions ~completable ~pos ~rawOpens ~uri
45
in
46
completionItems
0 commit comments