diff options
| author | Riley Bruins <ribru17@hotmail.com> | 2024-05-31 20:33:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-01 12:33:56 +0900 |
| commit | f9773e4a5e0dbeda0d6f8a78d7d61eb802b6d0e1 (patch) | |
| tree | b30cfd606714e3269dca5deedeceb19b9694f195 /queries | |
| parent | bot(lockfile): update earthfile, idl, javascript (diff) | |
| download | nvim-treesitter-f9773e4a5e0dbeda0d6f8a78d7d61eb802b6d0e1.tar nvim-treesitter-f9773e4a5e0dbeda0d6f8a78d7d61eb802b6d0e1.tar.gz nvim-treesitter-f9773e4a5e0dbeda0d6f8a78d7d61eb802b6d0e1.tar.bz2 nvim-treesitter-f9773e4a5e0dbeda0d6f8a78d7d61eb802b6d0e1.tar.lz nvim-treesitter-f9773e4a5e0dbeda0d6f8a78d7d61eb802b6d0e1.tar.xz nvim-treesitter-f9773e4a5e0dbeda0d6f8a78d7d61eb802b6d0e1.tar.zst nvim-treesitter-f9773e4a5e0dbeda0d6f8a78d7d61eb802b6d0e1.zip | |
test: fix tests broken after 0.10 update (#6714)
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/html_tags/indents.scm | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/queries/html_tags/indents.scm b/queries/html_tags/indents.scm index 6fe984fa9..dc57c333a 100644 --- a/queries/html_tags/indents.scm +++ b/queries/html_tags/indents.scm @@ -1,13 +1,12 @@ -[ - ((element - (start_tag - (tag_name) @_not_void_element)) - (#not-any-of? @_not_void_element - "area" "base" "basefont" "bgsound" "br" "col" "command" "embed" "frame" "hr" "image" "img" - "input" "isindex" "keygen" "link" "menuitem" "meta" "nextid" "param" "source" "track" "wbr")) - (element - (self_closing_tag)) -] @indent.begin +((element + (start_tag + (tag_name) @_not_void_element)) + (#not-any-of? @_not_void_element + "area" "base" "basefont" "bgsound" "br" "col" "command" "embed" "frame" "hr" "image" "img" + "input" "isindex" "keygen" "link" "menuitem" "meta" "nextid" "param" "source" "track" "wbr")) @indent.begin + +(element + (self_closing_tag)) @indent.begin ((start_tag (tag_name) @_void_element) |
