Commit graph

129 commits

Author SHA1 Message Date
eb240ec6fc
fix: skip existing check for share commands 2024-09-27 23:46:35 +02:00
d0d1fb73ae
fix: invoke attach callback on main thread 2024-09-27 23:35:26 +02:00
14286f1699
fix: new attach() usage 2024-09-27 23:04:56 +02:00
a001a96abf
feat: ask what to do when out of sync 2024-09-27 20:52:56 +02:00
44b0e05e98
fix: make sure we drop client after disconnecting 2024-09-27 20:52:44 +02:00
b3d76bd071
fix: bit of space for more names on one line 2024-09-27 20:42:32 +02:00
3ee546be4d
fix: lock for receiving changes
must never have more than 1 callback consuming
2024-09-26 17:42:48 +02:00
8a4e6e828a
fix: collect garbage when detaching for faster dc 2024-09-26 16:39:04 +02:00
455ec025c1
fix: add disconnect, better detach 2024-09-26 16:38:52 +02:00
7e6f2fd905
fix: available command also refreshes ws list 2024-09-26 16:21:26 +02:00
b561802109
feat: 'a' on title refreshes workspace list 2024-09-26 16:21:14 +02:00
f875741165
fix: remove prints 2024-09-26 05:46:02 +02:00
5ae49d3c49
feat: improved async poller for events
now, when :abort() is available, it properly cancels promises so that we
dont get dangling references
2024-09-26 05:40:58 +02:00
e8005fbeab
chore: cursor callback fns get just the controller 2024-09-26 05:40:36 +02:00
3a40a01fb5
fix: detach with buf manager 2024-09-26 03:44:42 +02:00
2391b3c4fd
fix: just ask if overwriting when attaching
to upload content cancel attach and use force share
2024-09-26 03:42:29 +02:00
9e48af37fe
feat: allow detaching from buffers with 'a'
not really the best key but better than nothing i guess...
2024-09-26 03:42:06 +02:00
2d41812e23
fix: startswith direction 2024-09-26 03:40:25 +02:00
b3315dff9b
feat: prompt if overwrite buf, better attach fn 2024-09-26 03:29:13 +02:00
faa68b235c
feat: more friendly detach and leave commands
leave requires no args, detach shows completions only for attached
buffers and if called with no args works on current buffer when managed
2024-09-26 03:00:04 +02:00
7e80f71509
feat: parse user list upon connection
basically shows user which were already present when connecting to a
workspace, rather than waiting for a cursor from them
2024-09-26 00:22:45 +02:00
db56df9c58
fix: 0 is truthy in lua???? 2024-09-25 23:35:17 +02:00
9ea2827277
fix: catch attach error for dupe name early 2024-09-25 23:32:51 +02:00
33c08653fa
fix: dont delete buffer when detaching 2024-09-25 23:15:33 +02:00
fe1f4b456d
feat: mark followed user 2024-09-25 04:10:48 +02:00
a98763217a
feat: follow end of cursor that is being moved 2024-09-25 04:07:18 +02:00
8a93fb5dc2
feat: follow others 2024-09-25 04:00:46 +02:00
c5dc023bc7
fix: reuse same mark 2024-09-25 03:11:42 +02:00
d762c994e7
fix: better line highlighting 2024-09-25 03:05:24 +02:00
db3a46f445
fix: brighter colors 2024-09-25 02:21:32 +02:00
3f4227ff03
fix: invalid characters for groups 2024-09-25 02:13:11 +02:00
52d356ea02
feat: reworked colors, improved cursor marker 2024-09-25 02:11:58 +02:00
d991a81601
feat: better user cursor highlights 2024-09-25 00:36:08 +02:00
bf59d71e3b
fix: print error as err 2024-09-18 00:39:52 +02:00
51d6628fd4
fix: catch callback errors
very ugly code! will need a fix rust-side...
2024-09-18 00:28:01 +02:00
6b3e4a3faa
fix: allow setting debug file 2024-09-17 23:49:58 +02:00
90d5a57037
fix: new names 2024-09-17 23:48:53 +02:00
d8990452d0
fix: setup plugin in setup() fn
so that configuration can reach logger and callbacks
2024-09-17 22:12:15 +02:00
9d7410b725
fix: hook back logger 2024-09-17 19:49:26 +02:00
16f9bd77fd
fix: tree redraw, always expand nodes 2024-09-17 18:43:45 +02:00
eda004423e
fix: register workspace event poller after 2024-09-17 18:10:07 +02:00
2e26df05e2
fix: pass callback arg, add available field 2024-09-17 17:58:32 +02:00
32e056de91
fix: check for nil and empty string
empty string is not falsy in lua? idk
2024-09-17 17:50:58 +02:00
d524076412
chore: global CODEMP object
i dont really like global state but it seems to be necessary when
working with callbacks
2024-09-17 17:26:23 +02:00
45231e3eb8
fix: setting global client 2024-09-17 16:36:51 +02:00
c4c3d0ced9
fix: run callbacks on main thread 2024-09-17 16:35:27 +02:00
9dea608f04
feat: non-blocking API 2024-09-17 16:33:22 +02:00
81baba98db
fix: actually clear usr and check if hl is present 2024-09-17 02:01:48 +02:00
321e6a34bb
fix: only clear user hl if was present 2024-09-17 01:55:43 +02:00
d98f6707d0
fix: get promise value in timer, schedule cb 2024-09-17 01:55:18 +02:00