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
Pham Huy Hoang
da79f9afe6
feat: add py-script injections for html
2023-04-30 23:30:10 -04:00
Lucario387
6f4b9b190b
refactor(vue, html): Update injections
...
Update html_tags injections so that html/vue/svelte parsers can use
it without having a script/style tag being captured twice
Signed-off-by: Pham Huy Hoang <hoangtun0810@gmail.com>
2023-01-03 12:05:10 +01:00
Cyril Mizzi
8d6c2b0044
fix: define indents.scm for html_tags and inherits html and vue from this file
2021-11-11 21:00:33 -05: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
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags ( #893 )
...
Closes #236
2021-03-12 11:21:46 -05:00
elianiva
0bf8f58cd2
feat: use @ignore for comments and multiline strings
2021-03-01 23:28:53 +01:00
Santos Gallegos
91a89aa408
HTML: capture src attributes as text.uri
2021-02-26 07:45:59 +01:00
Santos Gallegos
76a7000384
Use eq?
2021-02-11 07:42:19 +01:00
Santos Gallegos
b86555d9c3
HTML: improve highlights & injections
2021-02-11 07:42:19 +01:00
Santos Gallegos
83c3b4ad75
HTML: add folds queries
2021-02-07 15:24:20 +01:00
elianiva
9184cf3953
feat: added more indent queries
2021-01-14 14:43:04 +01:00
Stephan Seitz
091dff2ac6
html highlights: add "<!" to tag.delimiters
2021-01-05 21:43:41 -05:00
elianiva
118ace68fe
feat(injections): add injections to HTML
2020-11-24 13:27:49 +01:00
TravonteD
c366a041c8
Add TSTag and TSTagDelimiter groups
...
These groups will be added for use with xml-like tags such as html and
jsx.
2020-09-18 17:09:43 +02:00
Shirasaka
f372e2ab87
Add PHP, TOML, and update HTML, javascript queries
...
- PHP : Add highlights and locals query
- TOML : Add highlights and locals query
- HTML : Add scope
- javascript : Add some scopes
2020-08-04 08:05:51 +02:00
TravonteD
0f836e0602
refactor: use newly introduced consolidated syntax
2020-06-20 09:03:39 -04:00
Stephan Seitz
0ad3872fde
html: Highlight (quoted_attribute_value) as @string
2020-06-05 18:21:01 +02:00
TravonteD
d32d5abb4a
Add html highlight queries
2020-06-02 15:13:36 -04:00