Lucas Lopes
1a4274c9e1
feat(svelte): add javascript injection ( #6540 )
2024-05-01 00:10:19 +09:00
Phạm Huy Hoàng
62b0bb4f24
feat(format): extra newline after modeline
2024-02-29 23:05:30 +09:00
Amaan Qureshi
3a7b5a9fb4
feat(svelte)!: switch upstream parser
2024-02-19 08:11:17 -05:00
Pham Huy Hoang
57a8acf0c4
chore: query formatting
2024-01-19 16:58:37 +01:00
Pham Huy Hoang
bfb4601f48
refactor: remove include-children from queries ( #5226 )
...
These `include-children` were to alleviate an issue with empty range language tree, which has been fixed for Neovim nightly/Neovim 0.9.2
2023-09-12 08:36:50 +02:00
Pham Huy Hoang
78b54eb7f6
chore(injections)!: update injection syntax to 0.9
...
Since 0.9, @lang syntax is still available as fallback but will soon be deprecated.
Because of that, new syntax should be adopted once 0.9 becomes the
baseline requirements for nvim-treesitter
- update health check
- update doc
2023-08-12 17:34:15 +02:00
ObserverOfTime
5b71f2674a
injections(svelte): add pug injection
2023-02-11 15:40:34 -08:00
Lucario387
28baed7698
refactor(svelte): Remove duplicated queries
...
These injection queries are defined already in html_tags, remove them
Signed-off-by: Pham Huy Hoang <hoangtun0810@gmail.com>
2023-01-03 12:05:10 +01:00
elianiva
0916cceab2
feat(svelte): inject JS on each expression ( #1969 )
2021-11-02 10:59:23 -05:00
Joakker
c699cc2e47
Use #any-of? instead of #match? where posible
2021-06-25 00:22:48 +02:00
elianiva
5d2faa0466
refactor: make html-like languages inherit from single query
2021-05-17 23:38:14 +02:00
Santos Gallegos
67f0857015
Revert "Comment: use @combined to create just one tree per buffer ( #1252 )"
...
This reverts commit 4a7a713c52 .
2021-05-07 16:51:57 +02:00
Santos Gallegos
4a7a713c52
Comment: use @combined to create just one tree per buffer ( #1252 )
...
* Comment: use `@combined` to create just one tree per buffer
There is no need to create a tree per line/block for comments.
Should fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1251
* Add injections for scss
* Fix jsonc
* Combine jsdoc
2021-04-28 07:19:07 -05:00
elianiva
ffbf8f19a4
feat: add scss injection for svelte/vue
2021-04-08 22:50:41 +02:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags ( #893 )
...
Closes #236
2021-03-12 11:21:46 -05:00
elianiva
72d38fc44b
refactor: use eq
2021-02-23 16:27:16 +01:00
elianiva
17a74e2055
feat: improved highlight + injections, cc @stsewd
2021-02-23 16:27:16 +01:00
elianiva
a73e200abf
feat: add support for svelte
2021-02-23 16:27:16 +01:00