Skip to content

Commit

Permalink
[flow][autocomplete] make autocomplete on demand the default
Browse files Browse the repository at this point in the history
Reviewed By: SamChou19815

Differential Revision: D55668276

fbshipit-source-id: 82c8d70e7d1f89269749e90f32286e8f182df5c8
  • Loading branch information
panagosg7 authored and facebook-github-bot committed Apr 3, 2024
1 parent 2856f03 commit c0787f4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/commands/commandUtils.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,9 @@ let make_options
options_flags.long_lived_workers
~default:(FlowConfig.long_lived_workers flowconfig);
opt_autocomplete_mode =
Base.Option.value (FlowConfig.autocomplete_mode flowconfig) ~default:Options.Ac_typed_ast;
Base.Option.value
(FlowConfig.autocomplete_mode flowconfig)
~default:Options.Ac_on_demand_typing;
(* Not user-configurable for now, but set to false for some codemods. *)
opt_any_propagation = true;
opt_blocking_worker_communication =
Expand Down

0 comments on commit c0787f4

Please sign in to comment.