Lucario387
c7b9f68d03
feat(vue): add tsx/jsx injection queries ( #4550 )
...
* feat(vue): add tsx/jsx injection queries
- add a test
- style: format vue/injections.scm
2023-03-24 14:38:19 +00:00
Benny Powers
972da989bc
test: ecma injections
2023-03-22 02:28:21 -04:00
Benny Powers
d228b51cd7
test: html injections
2023-03-22 02:28:21 -04:00
Pham Huy Hoang
d11dd552db
injections(html): fix faulty css/js injections
...
Group queries to reduce duplicate injection tree
use only regex
2023-03-05 22:34:41 +02:00
lucario387
85d9534491
allow negative assertion in injection tests ( #4107 )
...
* tests(vue, svelte): strengthen tests
* fix(html, vue, svelte): fix wrong test format
* allow negative assertions in injection tests
2023-01-07 11:22:20 +01: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
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
Lucario387
f5d517f4a7
Fix(vue): Invalid match queries
2022-12-25 17:43:25 +01:00
Lucario387
bbd7ecb25d
add test file
2022-12-25 14:58:33 +01:00
Stephan Seitz
881cb5b8f2
ci(injection tests): don't consider root language an injection
2021-12-20 18:16:45 +01:00
Stephan Seitz
a3862c9802
ci: add injection tests
2021-12-20 18:16:45 +01:00