mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
7
runtime/queries/prisma/folds.scm
Normal file
7
runtime/queries/prisma/folds.scm
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[
|
||||
(generator_declaration)
|
||||
(datasource_declaration)
|
||||
(model_declaration)
|
||||
(enum_declaration)
|
||||
(view_declaration)
|
||||
] @fold
|
||||
47
runtime/queries/prisma/highlights.scm
Normal file
47
runtime/queries/prisma/highlights.scm
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
(variable) @variable
|
||||
|
||||
[
|
||||
"datasource"
|
||||
"generator"
|
||||
"model"
|
||||
"view"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"type"
|
||||
"enum"
|
||||
] @keyword.type
|
||||
|
||||
(comment) @comment @spell
|
||||
|
||||
(developer_comment) @comment.documentation @spell
|
||||
|
||||
[
|
||||
(attribute)
|
||||
(call_expression)
|
||||
] @function
|
||||
|
||||
(arguments) @property
|
||||
|
||||
(column_type) @type
|
||||
|
||||
(enumeral) @constant
|
||||
|
||||
(column_declaration
|
||||
(identifier) @variable)
|
||||
|
||||
(string) @string
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
"="
|
||||
"@"
|
||||
] @operator
|
||||
5
runtime/queries/prisma/injections.scm
Normal file
5
runtime/queries/prisma/injections.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
([
|
||||
(comment)
|
||||
(developer_comment)
|
||||
] @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue