mirror of https://github.com/helix-editor/helix
Add comment textobject for surround selection and navigation (#1605)
parent
7633c5acd3
commit
9bfb0caf1b
@ -1,3 +1,12 @@
|
|||||||
(macro_def) @function.around
|
(macro_def) @function.around
|
||||||
|
|
||||||
(argument) @parameter.inside
|
(argument) @parameter.inside
|
||||||
|
|
||||||
|
[
|
||||||
|
(bracket_comment)
|
||||||
|
(line_comment)
|
||||||
|
] @comment.inside
|
||||||
|
|
||||||
|
(line_comment)+ @comment.around
|
||||||
|
|
||||||
|
(bracket_comment) @comment.around
|
@ -1 +1,5 @@
|
|||||||
(function_definition) @function.around
|
(function_definition) @function.around
|
||||||
|
|
||||||
|
(comment) @comment.inside
|
||||||
|
|
||||||
|
(comment)+ @comment.around
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
(basic_block) @function.around
|
(basic_block) @function.around
|
||||||
|
|
||||||
(argument) @parameter.inside
|
(argument) @parameter.inside
|
||||||
|
|
||||||
|
[
|
||||||
|
(comment)
|
||||||
|
(multiline_comment)
|
||||||
|
] @comment.inside
|
||||||
|
|
||||||
|
(comment)+ @comment.around
|
||||||
|
|
||||||
|
(multiline_comment) @comment.around
|
||||||
|
Loading…
Reference in New Issue