mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-06 04:17:43 +03:00
Initial Nim language support (#6123)
This commit is contained in:
parent
5d7c90c5cf
commit
c8fde8b6f9
5 changed files with 412 additions and 0 deletions
19
runtime/queries/nim/textobjects.scm
Normal file
19
runtime/queries/nim/textobjects.scm
Normal file
|
@ -0,0 +1,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
|
Loading…
Add table
Add a link
Reference in a new issue