aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/nim/textobjects.scm
blob: 943aa7f089fb04cd78579f9095eaf19a8de608ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(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