Skip to content

Commit

Permalink
Added script and style tags for selection
Browse files Browse the repository at this point in the history
  • Loading branch information
ff2400t committed Nov 7, 2022
1 parent 028d253 commit d107d20
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions runtime/queries/html/textobjects.scm
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
(element
(start_tag)
(_)* @xml_element.inside
(end_tag)?
. ) @xml_element.around

(style_element
(start_tag)
(_)* @xml_element.inside
(end_tag)
. ) @xml_element.around

(script_element
(start_tag)
(_)* @xml_element.inside
(end_tag)
Expand Down

0 comments on commit d107d20

Please sign in to comment.