Skip to content

Commit

Permalink
nvim_ui_watch_extmark is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Yatao Li committed Apr 22, 2022
1 parent a79e51e commit 7ce386a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion model.fs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ module private ModelImpl =
match! nvim.call { method = "nvim_get_namespaces"; parameters = [||] } with
| Ok(FindKV("GuiWidget")(Integer32 id)) ->
trace "nvim supports gui-widgets."
let! _ = nvim.call { method = "nvim_ui_watch_extmark"; parameters = mkparams1 id }
let! _ = nvim.call { method = "nvim_call_function"; parameters = mkparams2 "GuiWidgetClientAttach" (mkparams1 channel_id) }
guiwidgetNamespace <- id
| _ -> ()
Expand Down

0 comments on commit 7ce386a

Please sign in to comment.