diff options
| author | Lucario387 <hoangtun0810@gmail.com> | 2023-01-02 02:38:54 +0900 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-01-03 12:05:10 +0100 |
| commit | 6f4b9b190baaa4c10d8e60108ceb61b486f6e1a3 (patch) | |
| tree | b8c60657ad04717f5ba2ff33e7034400916e71b0 /queries/html | |
| parent | Update parsers: scala (diff) | |
| download | nvim-treesitter-6f4b9b190baaa4c10d8e60108ceb61b486f6e1a3.tar nvim-treesitter-6f4b9b190baaa4c10d8e60108ceb61b486f6e1a3.tar.gz nvim-treesitter-6f4b9b190baaa4c10d8e60108ceb61b486f6e1a3.tar.bz2 nvim-treesitter-6f4b9b190baaa4c10d8e60108ceb61b486f6e1a3.tar.lz nvim-treesitter-6f4b9b190baaa4c10d8e60108ceb61b486f6e1a3.tar.xz nvim-treesitter-6f4b9b190baaa4c10d8e60108ceb61b486f6e1a3.tar.zst nvim-treesitter-6f4b9b190baaa4c10d8e60108ceb61b486f6e1a3.zip | |
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>
Diffstat (limited to 'queries/html')
| -rw-r--r-- | queries/html/injections.scm | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/queries/html/injections.scm b/queries/html/injections.scm index 682431195..7ddb5beae 100644 --- a/queries/html/injections.scm +++ b/queries/html/injections.scm @@ -1,12 +1 @@ -((style_element - (raw_text) @css)) - -((attribute - (attribute_name) @_attr - (quoted_attribute_value (attribute_value) @css)) - (#eq? @_attr "style")) - -((script_element - (raw_text) @javascript)) - -(comment) @comment +; inherits html_tags |
