diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..ea353e87 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# +# Please see the documentation for all configuration options: +# - https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 + +updates: + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/BUILTIN_TEXTOBJECTS.md b/BUILTIN_TEXTOBJECTS.md index 64ccfaa4..667b5bd9 100644 --- a/BUILTIN_TEXTOBJECTS.md +++ b/BUILTIN_TEXTOBJECTS.md @@ -131,6 +131,8 @@ php_only 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 +prisma 🟩 🟩 🟩 🟩 🟩 🟩 + python🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 🟩 ql 🟩 🟩 🟩 🟩 🟩 diff --git a/queries/prisma/textobjects.scm b/queries/prisma/textobjects.scm new file mode 100644 index 00000000..f6e553e2 --- /dev/null +++ b/queries/prisma/textobjects.scm @@ -0,0 +1,29 @@ +[ + (comment) + (developer_comment) +] @comment.outer + +[ + (statement_block) + (enum_block) +] @block.outer + +[ + (enum_declaration) + (model_declaration) + (type_declaration) +] @class.outer + +(enum_block) @class.inner + +(model_declaration + (statement_block) @class.inner) + +(type_declaration + (statement_block) @class.inner) + +(enumeral) @parameter.inner @parameter.outer + +(column_declaration) @parameter.inner @parameter.outer + +(block_attribute_declaration) @parameter.outer