package vcaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Nvim.UntestedSource

Sourcemodule Log_level : sig ... end
Sourceval notify : Log_level.t -> string -> unit Api_call.Or_error.t
Sourceval get_display_width : string -> int Api_call.Or_error.t
Sourceval set_current_dir : string -> unit Api_call.Or_error.t
Sourceval get_current_line : string Api_call.Or_error.t
Sourceval set_current_line : string -> unit Api_call.Or_error.t
Sourceval delete_current_line : unit Api_call.Or_error.t
Sourceval delete_var : string -> unit Api_call.Or_error.t
Sourceval get_vvar : string -> type_:'a Type.t -> 'a Api_call.Or_error.t
Sourceval set_vvar : string -> type_:'a Type.t -> value:'a -> unit Api_call.Or_error.t
Sourceval get_option : string -> type_:'a Type.t -> 'a Api_call.Or_error.t
Sourceval set_option : string -> type_:'a Type.t -> value:'a -> unit Api_call.Or_error.t
Sourceval list_tabpages : Tabpage.t list Api_call.Or_error.t
Sourceval get_current_tabpage : Tabpage.t Api_call.Or_error.t
Sourceval set_current_tabpage : Tabpage.t -> unit Api_call.Or_error.t
Sourceval subscribe : event:string -> unit Api_call.Or_error.t

Neovim supports both signal and broadcast asynchronous notifications. In signal mode a channel is given to rpcnotify and the channel will receive the event regardless its subscriptions. In broadcast mode (when the channel argument is 0) all channels that have subscribed to event will receive the notification.

Sourceval unsubscribe : event:string -> unit Api_call.Or_error.t
Sourceval get_user_defined_commands : Command.t Core.String.Map.t Api_call.Or_error.t
Sourceval put : string list -> how:[ `Blockwise | `Linewise | `Charwise ] -> where:[ `Before_cursor | `After_cursor ] -> place_cursor:[ `At_start_of_text | `At_end_of_text ] -> unit Api_call.Or_error.t
Sourceval get_hl_id_by_name : string -> int Api_call.Or_error.t
Sourceval nvim_find_runtime_file_matching : pattern:string -> string option Api_call.Or_error.t
Sourceval nvim_all_runtime_files_matching : pattern:string -> string list Api_call.Or_error.t
Sourceval get_option_info : string -> Vcaml__.Option_info.packed Api_call.Or_error.t
Sourceval get_all_options_info : Vcaml__.Option_info.packed Core.String.Map.t Api_call.Or_error.t
Sourceval send_to_channel : channel:int -> string -> unit Api_call.Or_error.t

Send raw bytes to channel. If the channel is a terminal and you want to display multiple lines you will need to follow your newlines with carriage returns. See also Buffer.Untested.open_term.

Sourceval get_mark : char -> (Buffer.t * [ `Buffer_name of string ] * Mark.t) Api_call.Or_error.t
Sourceval delete_mark : char -> unit Core.Or_error.t Api_call.t
Sourceval eval_statusline : ?window:Window.t -> ?max_width:int -> ?fill_char:char -> include_highlights:bool -> string -> Msgpack.t Core.String.Map.t Api_call.Or_error.t
Sourceval eval_tabline : ?max_width:int -> ?fill_char:char -> include_highlights:bool -> string -> Msgpack.t Core.String.Map.t Api_call.Or_error.t
Sourcemodule Expert : sig ... end
OCaml

Innovation. Community. Security.