language-server: retain state on reload
easy-print=language-server-easy-print,
rune-snippet=language-server-rune-snippet,
build=language-server-build,
- default-agent
+ default-agent, verb
|%
+$ card card:agent:gall
+$ lsp-req
==
--
^- agent:gall
+%+ verb |
=| state-zero
=* state -
=<
|= old-state=vase
^- (quip card _this)
~& > %lsp-upgrade
- [~ this(state *state-zero)]
+ [~ this(state !<(state-zero old-state))]
::
++ on-poke
^+ on-poke:*agent:gall
^- =tape
%- zing
%+ join "\0a"
- %+ scag 20
- (~(win re ~(duck easy-print detail.i.u.p.tab-list)) 2 80)
+ %+ scag 40
+ (~(win re ~(duck easy-print detail.i.u.p.tab-list)) 0 140)
::
++ sync-buf
|= [buf=wall changes=(list change:lsp-sur)]
