Commit graph

35 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
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
7f5d7b23b5
fix: clear cursor, buffers, workspace and mappings
i think this is everything?
2024-10-03 00:13:10 +02:00
3e2ceb99de
fix: update window when moving across bufs 2024-10-02 23:23:53 +02:00
f8c2a00894
fix: update position for self too 2024-10-02 23:20:52 +02:00
a3fa3ea743
fix: 1-len cursors 2024-10-02 02:14:41 +02:00
6094c7b7b8
fix: extend 0-width cursors 2024-09-28 18:15:23 +02:00
b3d76bd071
fix: bit of space for more names on one line 2024-09-27 20:42:32 +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
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
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
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
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
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
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
ecf58046b5
fix: run poller callbacks on main thread 2024-09-17 01:45:54 +02:00
9b6739b167
feat: send an away cursor when going on other bufs 2024-09-16 20:14:32 +02:00
c8698d4d91
feat: connect/disconnect, track user pos
added a jank timer poller to check if promise for workspace event is
done
2024-09-16 20:01:09 +02:00
bbc86f3ac4
chore: new api 2024-09-16 18:27:23 +02:00
335ea236c4
fix: dont require window until its used
so that config can be properly loaded first
2024-09-14 14:24:48 +02:00
0987a7b022
chore: moved under lua/codemp 2024-09-05 04:57:47 +02:00
Renamed from lua/workspace.lua (Browse further)