Module Merlin_kernel.MconfigSource
OCaml commandline parsing
Source
type ocaml = {include_dirs : Ocaml_utils.Clflags.visible_include list;no_std_include : bool;unsafe : bool;classic : bool;principal : bool;real_paths : bool;threads : [ `None | `Threads | `Vmthreads ];recursive_types : bool;strict_sequence : bool;applicative_functors : bool;nopervasives : bool;strict_formats : bool;open_modules : string list;ppx : string Merlin_utils.Std.with_workdir list;pp : string Merlin_utils.Std.with_workdir option;warnings : Ocaml_utils.Warnings.state;cmi_file : string option;parameters : string list;as_parameter : bool;as_argument_for : string option;zero_alloc_check : Ocaml_utils.Zero_alloc_annotations.Check.t;zero_alloc_assert : Ocaml_utils.Zero_alloc_annotations.Assert.t;infer_with_bounds : bool;kind_verbosity : int;ikinds : bool;
}Merlin high-level settings
Source
type merlin = {build_path : string list;source_path : string list;cmi_path : string list;cmt_path : string list;index_files : string list;extensions : string list;suffixes : (string * string) list;stdlib : string option;source_root : string option;unit_name : string option;unit_name_for : string Merlin_utils.Std.String.Map.t;wrapping_prefix : string option;reader : string list;protocol : [ `Json | `Sexp ];log_file : string option;log_sections : string list;config_path : string option;use_ppx_cache : bool;exclude_query_dir : bool;flags_to_apply : string list Merlin_utils.Std.with_workdir list;flags_applied : string list Merlin_utils.Std.with_workdir list;failures : string list;extension_to_reader : (string * string) list;cache_lifespan : int;
}Some flags affecting queries
Source
type query = {filename : string;directory : string;printer_width : int;verbosity : Verbosity.t;
}Main configuration
Source
val merge_merlin_config :
Mconfig_dot.config ->
merlin ->
failures:string list ->
config_path:string ->
merlinSource
val parse_arguments :
wd:string ->
warning:(string -> unit) ->
'a Merlin_utils.Marg.spec list ->
string list ->
t ->
'a ->
t * 'a