Commit graph

26 commits

Author SHA1 Message Date
02c26ba48f
refactor: lazy parse injections 2026-02-21 21:28:57 +01:00
7f18430932
feat: add initial injection rendering support 2026-02-21 21:12:27 +01:00
7dad2163a4
Merge branch 'zig-0.14' 2025-09-29 21:31:07 +02:00
6d15b82557
fix: previous change 2025-09-29 21:28:37 +02:00
2a74de8f73
Merge branch 'zig-0.14' 2025-09-29 20:58:06 +02:00
9f430faf6c
feat: indicate if any highlights were found in return from highlights_at_point 2025-09-29 20:56:55 +02:00
2c28091fe5
Merge branch 'zig-0.14' 2025-08-21 10:41:23 +02:00
b885fc6602 refactor: improve create pattern to avoid leaks 2025-07-19 00:03:30 +02:00
Loris Cro
167a588dee update to zig 0.15.0-dev.1048+f43f89a70 2025-07-17 11:59:24 +02:00
54069d1301 refactor: store static file types in a StaticStringMap instead of a plain list 2025-07-14 18:02:24 +02:00
6969727e07 refactor: mark static file types as static to differentiate from configured file types 2025-07-14 18:02:23 +02:00
8bb8ebb544 refactor: remove obsolete syntax.file_type member 2025-07-14 18:02:23 +02:00
3bb45d6b3f feat: add syntax.count_error_nodes function 2025-04-24 18:08:31 +02:00
ea00711ee1 feat: add caching of tree-sitter query objects 2025-03-18 14:26:31 +01:00
149a7fc546 fix: do not parse tree-sitter queries twice 2025-03-18 12:33:17 +01:00
40e4f73571 feat: add expand/shrink_selection and select_next/prev_sibling commands 2024-11-25 21:55:31 +01:00
d91691c0a4 fix: remove obsolete and broken syntax.refresh function 2024-10-30 17:53:05 +01:00
e7401e05c9 feat: add syntax.refresh_from_string utility function 2024-10-29 20:42:00 +01:00
57dfa2ee9f feat: add command to toggle syntax highlighting (S-F10) 2024-10-12 20:26:40 +02:00
b31fb25478 feat: make --no-syntax just disable syntax highlighting and not language server support 2024-10-12 19:57:47 +02:00
0b9e4ac97c refactor: change a -> allocator 2024-09-02 14:31:49 +02:00
5637dc899e refactor: prefer orelse to if(pred) |x| x else y 2024-08-29 13:13:45 +02:00
4818cc15fb build: add the options to build entirely without tree-sitter 2024-08-16 21:59:22 +02:00
3619572ed8 fix: update tree-sitter and fix syntax.create 2024-07-29 17:32:32 +02:00
ea0b053b73 feat: add refresh_from_buffer function 2024-07-23 22:17:35 +02:00
e58df221cc build: migrate syntax module from flow repository 2024-03-06 19:42:56 +01:00