mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
test: ecma injections
This commit is contained in:
parent
d228b51cd7
commit
972da989bc
2 changed files with 9 additions and 9 deletions
9
tests/query/injections/ecma/ecma-test-injections.js
Normal file
9
tests/query/injections/ecma/ecma-test-injections.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
html`<p></p>`;
|
||||
// ^ html
|
||||
html(`<p></p>`);
|
||||
// ^ html
|
||||
svg`<p></p>`;
|
||||
// ^ html
|
||||
svg(`<p></p>`);
|
||||
// ^ html
|
||||
|
||||
|
|
@ -41,15 +41,6 @@
|
|||
<!-- ^ json -->
|
||||
<script type="importmap">{ "true": false }</script>
|
||||
<!-- ^ json -->
|
||||
<script type="module">html`<p></p>`</script>
|
||||
<!-- ^ html -->
|
||||
<script type="module">html(`<p></p>`)</script>
|
||||
<!-- ^ html -->
|
||||
<script type="module">svg`<p></p>`</script>
|
||||
<!-- ^ html -->
|
||||
<script type="module">svg(`<p></p>`)</script>
|
||||
<!-- ^ html -->
|
||||
|
||||
<div style="height: 100%">
|
||||
<!-- ^ css -->
|
||||
Test div to test css injections for style attributes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue