diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2025-04-05 12:22:48 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2025-05-12 18:43:40 +0200 |
| commit | cbfe8a20c76582b0f2532e94fbd7ea9c80f25455 (patch) | |
| tree | 71353f2a474dafcb90bf0b9783e9c36d99d9a522 /tests | |
| parent | fix(install): skip tier 4 parsers when installing and updating (diff) | |
| download | nvim-treesitter-cbfe8a20c76582b0f2532e94fbd7ea9c80f25455.tar nvim-treesitter-cbfe8a20c76582b0f2532e94fbd7ea9c80f25455.tar.gz nvim-treesitter-cbfe8a20c76582b0f2532e94fbd7ea9c80f25455.tar.bz2 nvim-treesitter-cbfe8a20c76582b0f2532e94fbd7ea9c80f25455.tar.lz nvim-treesitter-cbfe8a20c76582b0f2532e94fbd7ea9c80f25455.tar.xz nvim-treesitter-cbfe8a20c76582b0f2532e94fbd7ea9c80f25455.tar.zst nvim-treesitter-cbfe8a20c76582b0f2532e94fbd7ea9c80f25455.zip | |
feat(html): use gsub for mimetype lookup
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/query/injections/html/test-html-injections.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/query/injections/html/test-html-injections.html b/tests/query/injections/html/test-html-injections.html index 0df3bd420..8b08b3f38 100644 --- a/tests/query/injections/html/test-html-injections.html +++ b/tests/query/injections/html/test-html-injections.html @@ -19,6 +19,8 @@ <!-- ^ @javascript --> <script async defer> const x = 1 </script> <!-- ^ @javascript --> + <script type="module"> import { foo } from "bar" </script> + <!-- ^ @javascript --> <script type="text/javascript"> const x = 1 </script> <!-- ^ @javascript --> <script type="text/ecmascript"> const x = 1 </script> @@ -27,8 +29,6 @@ <!-- ^ @javascript --> <script type="application/javascript"> const x = 1 </script> <!-- ^ @javascript --> - <script type="module"> import { foo } from "bar" </script> - <!-- ^ @javascript --> <script defer type="text/javascript"> const x = 1 </script> <!-- ^ @javascript --> <script type="text/markdown">## Hello *World*!</script> @@ -40,7 +40,7 @@ <script type="application/json">{ "true": false }</script> <!-- ^ @json --> <script type="importmap">{ "true": false }</script> - <!-- ^ @json --> + <!-- ^ @json --> <div style="height: 100%"> <!-- ^ @css --> Test div to test css injections for style attributes |
