helix-mirror/runtime/queries/nim/textobjects.scm

20 lines
482 B
Scheme
Raw Normal View History

2023-03-27 02:06:48 +04:00
(routine
(block) @function.inside) @function.around
; @class.inside (types?)
; @class.around
; paramListSuffix is strange and i do not understand it
(paramList
(paramColonEquals) @parameter.inside) @parameter.around
(comment) @comment.inside
(multilineComment) @comment.inside
(docComment) @comment.inside
(multilineDocComment) @comment.inside
(comment)+ @comment.around
(multilineComment) @comment.around
(docComment)+ @comment.around
(multilineDocComment) @comment.around