Module Vscode_json.Language
type markers = {
marker_start : string;
marker_end : string;
}
val markers_enc : markers Json_encoding.encoding
val pp_markers :
Ppx_deriving_runtime.Format.formatter ->
markers ->
Ppx_deriving_runtime.unit
val show_markers : markers -> Ppx_deriving_runtime.string
type folding = (string * markers) list
val folding_enc : folding Json_encoding.encoding
val pp_folding :
Ppx_deriving_runtime.Format.formatter ->
folding ->
Ppx_deriving_runtime.unit
val show_folding : folding -> Ppx_deriving_runtime.string
type pair = {
pair_open : string;
pair_close : string;
pair_notIn : string list;
}
val pp_pair :
Ppx_deriving_runtime.Format.formatter ->
pair ->
Ppx_deriving_runtime.unit
val show_pair : pair -> Ppx_deriving_runtime.string
val pair_enc : pair Json_encoding.encoding
type onEnterRule = {
beforeText : string;
endTest : string option;
action : (string * string) list;
}
val onEnterRule_enc : onEnterRule Json_encoding.encoding
val pp_onEnterRule :
Ppx_deriving_runtime.Format.formatter ->
onEnterRule ->
Ppx_deriving_runtime.unit
val show_onEnterRule : onEnterRule -> Ppx_deriving_runtime.string
type language = {
brackets : string list list;
autoClosingPairs : pair list;
surroundingPairs : pair list;
wordPattern : string option;
folding : folding;
onEnterRules : onEnterRule list;
}
val language_enc : language Json_encoding.encoding
val pp_language :
Ppx_deriving_runtime.Format.formatter ->
language ->
Ppx_deriving_runtime.unit
val show_language : language -> Ppx_deriving_runtime.string