package vcaml

  1. Overview
  2. Docs
val ui_attach : width:int -> height:int -> options:(Msgpack.t * Msgpack.t) list -> unit Core.Or_error.t Api_call.t
val ui_detach : unit Core.Or_error.t Api_call.t
val ui_try_resize : width:int -> height:int -> unit Core.Or_error.t Api_call.t
val ui_set_option : name:string -> value:Msgpack.t -> unit Core.Or_error.t Api_call.t
val get_hl_by_name : name:string -> rgb:bool -> (Msgpack.t * Msgpack.t) list Core.Or_error.t Api_call.t
val get_hl_by_id : hl_id:int -> rgb:bool -> (Msgpack.t * Msgpack.t) list Core.Or_error.t Api_call.t
val input : keys:string -> int Core.Or_error.t Api_call.t
val replace_termcodes : str:string -> from_part:bool -> do_lt:bool -> special:bool -> string Core.Or_error.t Api_call.t
val execute_lua : code:string -> args:Msgpack.t list -> Msgpack.t Core.Or_error.t Api_call.t
val call_function : fn:string -> args:Msgpack.t list -> Msgpack.t Core.Or_error.t Api_call.t
val call_dict_function : dict:Msgpack.t -> fn:string -> args:Msgpack.t list -> Msgpack.t Core.Or_error.t Api_call.t
val strwidth : text:string -> int Core.Or_error.t Api_call.t
val list_runtime_paths : string list Core.Or_error.t Api_call.t
val set_current_dir : dir:string -> unit Core.Or_error.t Api_call.t
val get_current_line : string Core.Or_error.t Api_call.t
val set_current_line : line:string -> unit Core.Or_error.t Api_call.t
val del_current_line : unit Core.Or_error.t Api_call.t
val get_var : name:string -> Msgpack.t Core.Or_error.t Api_call.t
val set_var : name:string -> value:Msgpack.t -> unit Core.Or_error.t Api_call.t
val del_var : name:string -> unit Core.Or_error.t Api_call.t
val get_vvar : name:string -> Msgpack.t Core.Or_error.t Api_call.t
val get_option : name:string -> Msgpack.t Core.Or_error.t Api_call.t
val set_option : name:string -> value:Msgpack.t -> unit Core.Or_error.t Api_call.t
val out_write : str:string -> unit Core.Or_error.t Api_call.t
val err_write : str:string -> unit Core.Or_error.t Api_call.t
val err_writeln : str:string -> unit Core.Or_error.t Api_call.t
val set_current_buf : buffer:Buf.t -> unit Core.Or_error.t Api_call.t
val list_wins : Window.t list Core.Or_error.t Api_call.t
val get_current_win : Window.t Core.Or_error.t Api_call.t
val set_current_win : window:Window.t -> unit Core.Or_error.t Api_call.t
val list_tabpages : Tabpage.t list Core.Or_error.t Api_call.t
val get_current_tabpage : Tabpage.t Core.Or_error.t Api_call.t
val set_current_tabpage : tabpage:Tabpage.t -> unit Core.Or_error.t Api_call.t
val subscribe : event:string -> unit Core.Or_error.t Api_call.t
val unsubscribe : event:string -> unit Core.Or_error.t Api_call.t
val get_color_by_name : name:string -> int Core.Or_error.t Api_call.t
val get_color_map : (Msgpack.t * Msgpack.t) list Core.Or_error.t Api_call.t
val get_keymap : mode:string -> Keymap.t list Core.Or_error.t Api_call.t
val get_api_info : Msgpack.t list Core.Or_error.t Api_call.t
val set_client_info : ?version:Client_info.Version.t -> ?methods:Client_info.Client_method.t Core.String.Map.t -> ?attributes:string Core.String.Map.t -> name:string -> type_:Client_info.Client_type.t -> unit -> unit Core.Or_error.t Api_call.t
val parse_expression : expr:string -> flags:string -> highlight:bool -> (Msgpack.t * Msgpack.t) list Core.Or_error.t Api_call.t
val get_proc_children : pid:int -> Msgpack.t list Core.Or_error.t Api_call.t
val get_proc : pid:int -> Msgpack.t Core.Or_error.t Api_call.t
val keymap : lhs:string -> rhs:string -> mode:string -> opts:bool Core.String.Map.t -> unit Core.Or_error.t Api_call.t