diff options
Diffstat (limited to 'runtime/queries/tablegen/textobjects.scm')
-rw-r--r-- | runtime/queries/tablegen/textobjects.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/tablegen/textobjects.scm b/runtime/queries/tablegen/textobjects.scm index 2cb80268..89645b34 100644 --- a/runtime/queries/tablegen/textobjects.scm +++ b/runtime/queries/tablegen/textobjects.scm @@ -5,3 +5,12 @@ body: (_) @class.inside) @class.around (_ argument: _ @parameter.inside) + +[ + (comment) + (multiline_comment) +] @comment.inside + +(comment)+ @comment.around + +(multiline_comment) @comment.around |