Commit graph

153 commits

Author SHA1 Message Date
3ba6c30a48
fix: put user.name is buf mappings 2024-10-27 11:51:50 +01:00
04ca78ac16
fix: workspace controller, no longer need poller 2024-10-26 20:23:57 +02:00
a130c24687
fix: no longer async 2024-10-26 20:22:54 +02:00
0aab5cdd80
fix: leftover 2024-10-26 18:30:58 +02:00
7f0dd45ac0
fix: ack when applying changes 2024-10-26 18:28:40 +02:00
c92b1799b6
chore: updated to codemp 0.8 2024-10-26 18:16:18 +02:00
9e22411df8
chore: update usage with data structs 2024-10-26 17:51:16 +02:00
f5a5287065
fix: update window after disconnecting 2024-10-12 23:27:08 +02:00
594330c721
fix: always leave workspace before disconnecting 2024-10-12 23:24:33 +02:00
7f5d7b23b5
fix: clear cursor, buffers, workspace and mappings
i think this is everything?
2024-10-03 00:13:10 +02:00
09a37f7b77
fix: since it gets 2-wide sometimes...
... make it 2-wide always but with leading letter
2024-10-02 23:24:55 +02:00
3e2ceb99de
fix: update window when moving across bufs 2024-10-02 23:23:53 +02:00
bdb991033a
fix: remove align end
hopefully blocks will be 1 wide again?
2024-10-02 23:22:56 +02:00
f8c2a00894
fix: update position for self too 2024-10-02 23:20:52 +02:00
3f71b36ccd
feat: show user initial in color block 2024-10-02 23:20:39 +02:00
3555572c2a
feat: put back blocks at end, show fname 2024-10-02 23:13:00 +02:00
2f3132b82d
feat: show users before buffers
so its visible even on very long buffer names
2024-10-02 23:02:26 +02:00
222869464f
fix: buf tick equals
in theory it should always be the same, because we call set_content()
and before that resolves our callback runs. HOWEVER, i dont know, nvim
is driving me insane...
2024-10-02 14:18:28 +02:00
a3fa3ea743
fix: 1-len cursors 2024-10-02 02:14:41 +02:00
28b14eb761
fix: bump codemp version, cancel promise 2024-10-01 21:08:28 +02:00
6094c7b7b8
fix: extend 0-width cursors 2024-09-28 18:15:23 +02:00
5d2f7fa2c7
fix: distinguish id of owned/not owned workspaces 2024-09-28 01:24:04 +02:00
5ec9f8050e
fix: more unique tree ids 2024-09-28 01:10:25 +02:00
192910db5d
fix: set fileformat later, maybe fixes gitsigns? 2024-09-28 00:17:39 +02:00
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