Commit graph

12 commits

Author SHA1 Message Date
c97e22fedb
refactor: Use common function to initialize highlighter
This avoids differences between code, tests and benchmarks.
2023-04-21 20:56:29 +02:00
718a7fde41
feat: Improve performances
- create a map of byte offsets to Kakoune ranges once, to avoid having to
iterate the content for every highlight event
- create a direct lookup for faces from the token index passed by the
highlighter event, rather than performing a string map lookup each time
- minimize allocations by pushing only a single string with sufficient
capacity, rather than building small strings
2023-04-18 10:35:14 +02:00
f0ab5e46ad
fix: Fix removing hooks on disable 2023-04-17 10:37:52 +02:00
659d93fc8f
fix: Fix some errors not being logged properly 2023-04-17 10:37:05 +02:00
efa642a14b
feat: Rework daemon startup and configuration 2023-04-14 13:36:00 +02:00
62d096c111
chore: v1.0.0 2023-04-14 10:09:55 +02:00
1681a34cdb
feat: Finish initial implementation 2023-04-14 10:05:18 +02:00
402513b11d
feat: Implement config file 2023-04-13 20:06:50 +02:00
4438a11437
feat: Improve daemon setup
Properly clean up on termination and improve thread setup.
2023-04-13 17:13:32 +02:00
f0d84759f0
feat: Implement logging 2023-04-13 17:13:31 +02:00
270792ff38
feat: Implement daemon/client split 2023-04-13 17:13:28 +02:00
2e453d02e2
chore: Initialize project 2023-04-13 17:12:19 +02:00