Skip to content

Commit

Permalink
[#438] use 0/1 instead of false/true for --function-arg-placeholders (#…
Browse files Browse the repository at this point in the history
…439)

...as argument. Because some clangd versions cannot handle true/false
strings as argument.

fixes #438
  • Loading branch information
ghentschke authored Feb 20, 2025
1 parent 60bdc11 commit edc05b3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ public List<String> commands(Object context) {
if (!options.queryDriver().isBlank()) {
list.add(NLS.bind("--query-driver={0}", options.queryDriver())); //$NON-NLS-1$
}
list.add(NLS.bind("--function-arg-placeholders={0}", //$NON-NLS-1$
String.valueOf(options.fillFunctionArguments())));
list.add(NLS.bind("--function-arg-placeholders={0}", options.fillFunctionArguments() ? 1 : 0)); //$NON-NLS-1$

list.addAll(options.additionalOptions());
return list;
Expand Down

0 comments on commit edc05b3

Please sign in to comment.