Module Merlin_utils.Lib_configSource

When using Merlin as a library, one should use functions provided by this module to customize Merlin's behaviour.

Sourceval set_program_name : string -> unit

set_program sets the name of the program that will be used in error messages.

Sourceval program_name : unit -> string

program () returns the name of the program as registered by set_program. Defaults to "Merlin".

Sourcemodule Json : sig ... end
Sourcemodule System : sig ... end

Merlin spawns child processes for preprocessors (pp and ppx), which can be customized via System