Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/prisma/textobjects.scm')
| -rw-r--r-- | runtime/queries/prisma/textobjects.scm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/queries/prisma/textobjects.scm b/runtime/queries/prisma/textobjects.scm new file mode 100644 index 00000000..a59ac221 --- /dev/null +++ b/runtime/queries/prisma/textobjects.scm @@ -0,0 +1,17 @@ +(model_declaration + ((statement_block) @class.inside)) @class.around + +(call_expression + (arguments (_) @parameter.inside . ","? @parameter.around) @parameter.around) + +(column_declaration) @entry.around + +(array (_) @entry.around) + +(assignment_expression + (_) @entry.inside) @entry.around + +(developer_comment) @comment.inside + +(developer_comment)+ @comment.around + |