package vcaml
Module Vcaml.NvimSource
module Unshadow_command := Commandmodule Command := Unshadow_commandmodule Type := Nvim_internal.PhantomSource
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 Api_call.Or_error.tSource
val get_hl_by_name :
name:string ->
color:'a Color.Kind.t ->
'a Color.Highlight.t Api_call.Or_error.tSource
val get_hl_by_id :
hl_id:int ->
color:'a Color.Kind.t ->
'a Color.Highlight.t Api_call.Or_error.tAs of this writing messages echoed during an rpcrequest are not displayed until the request completes. This function hacks around that limitation. A side-effect of this hack is that if the user mashes the keyboard during the rpcrequest those keys will be printed after the message. inputsave + inputrestore does not seem to help mitigate this. For more details about this echoing limitation, see https://github.com/neovim/neovim/issues/14449.
Note that err_write and err_writeln do work inside rpcrequest but the error message is treated as an exception, so they aren't suitable for regular echoing purposes.
These API functions are served immediately without waiting in the input queue.