package vcaml

  1. Overview
  2. Docs
type nargs = [
  1. | `Exactly of int
  2. | `List
  3. | `At_most_one
  4. | `At_least_one
]
type addr_type = [
  1. | `Lines
  2. | `Args
  3. | `Buffers
  4. | `Loaded_bufs
  5. | `Windows
  6. | `Tabs
]
type range_type =
  1. | Range of [ `Defaults_to_current_line | `Defaults_to_whole_file | `Defaults_to_line_nr of int ]
  2. | Count of int
type t = {
  1. name : string;
  2. definition : string;
  3. script_id : int;
  4. bang : bool;
  5. bar : bool;
  6. register : bool;
  7. nargs : nargs;
  8. complete : string option;
  9. complete_arg : string option;
  10. range : range_type option;
  11. addr : addr_type;
}
val of_msgpack : Msgpack.t -> t Core.Or_error.t
OCaml

Innovation. Community. Security.