diff options
author | Daniel S Poulin | 2022-03-06 05:24:24 +0000 |
---|---|---|
committer | GitHub | 2022-03-06 05:24:24 +0000 |
commit | 9bfb0caf1b4bafdac8eb964f38f7820740056fff (patch) | |
tree | a2e8120456a2b3d3acb43f881c9499e71eb37fac /runtime/queries/cmake/textobjects.scm | |
parent | 7633c5acd30258fc9caca926bfaa264d07d508ec (diff) |
Add comment textobject for surround selection and navigation (#1605)
Diffstat (limited to 'runtime/queries/cmake/textobjects.scm')
-rw-r--r-- | runtime/queries/cmake/textobjects.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/cmake/textobjects.scm b/runtime/queries/cmake/textobjects.scm index b0d1b108..1fa9ded5 100644 --- a/runtime/queries/cmake/textobjects.scm +++ b/runtime/queries/cmake/textobjects.scm @@ -1,3 +1,12 @@ (macro_def) @function.around (argument) @parameter.inside + +[ + (bracket_comment) + (line_comment) +] @comment.inside + +(line_comment)+ @comment.around + +(bracket_comment) @comment.around
\ No newline at end of file |