package vcaml
OCaml bindings for the Neovim API
Install
Dune Dependency
Authors
Maintainers
Sources
vcaml-v0.16.0.tar.gz
sha256=dd123302c46af7ca6eda8a7806c78236fd217a8c73a2e1cd7da85f1d69ed1ae4
doc/vcaml.test_helpers/Vcaml_test_helpers/For_debugging/index.html
Module Vcaml_test_helpers.For_debugging
Source
If a test is behaving in a way that is especially surprising, use this module to attach it to an Neovim instance you are running so you can observe the effect. Note that the client detaching at the end of the test may be too rapid for you to view the effects - you may want to add a delay before returning.
Source
val with_ui_client :
?time_source:Async.Time_source.t ->
?on_error:[ `Raise | `Call of Vcaml.Vcaml_error.t -> unit ] ->
?before_connecting:([ `not_connected ] Vcaml.Client.t -> unit) ->
socket:string ->
([ `connected ] Vcaml.Client.t -> Test_ui.t -> 'a Async.Deferred.Or_error.t) ->
'a Async.Deferred.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>