Skip to content

Commit b8b84bf

Browse files
committed
Refactor variable name in set_configuration function for clarity
Updated the parameter name from `codelens` to `codelens_for_nested_bindings` in the set_configuration functionto enhance code readability and maintain consistency with the naming convention. Signed-off-by: Sora Morimoto <[email protected]>
1 parent 358a2d1 commit b8b84bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extension_instance.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ let set_configuration
8787
()
8888
=
8989
Option.iter codelens ~f:(fun codelens -> t.codelens <- codelens);
90-
Option.iter codelens_for_nested_bindings ~f:(fun codelens ->
91-
t.codelens_for_nested_bindings <- codelens);
90+
Option.iter codelens_for_nested_bindings ~f:(fun codelens_for_nested_bindings ->
91+
t.codelens_for_nested_bindings <- codelens_for_nested_bindings);
9292
Option.iter extended_hover ~f:(fun extended_hover -> t.extended_hover <- extended_hover);
9393
Option.iter standard_hover ~f:(fun standard_hover -> t.standard_hover <- standard_hover);
9494
Option.iter dune_diagnostics ~f:(fun dune_diagnostics ->

0 commit comments

Comments
 (0)