aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/authzed
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-06-24 14:33:45 +0200
committerChristian Clason <c.clason@uni-graz.at>2025-05-12 18:43:40 +0200
commitf13420ccff1dfca4a2e42c43f56f66b240dd1d2e (patch)
treefa402b473e4665f9529bf30e90d2293fd0e3cfcf /runtime/queries/authzed
parentfix: always normalize paths (diff)
downloadnvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.tar
nvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.tar.gz
nvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.tar.bz2
nvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.tar.lz
nvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.tar.xz
nvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.tar.zst
nvim-treesitter-f13420ccff1dfca4a2e42c43f56f66b240dd1d2e.zip
fix: remove upstreamed directives
`#inject-lang!` and `#trim!`; fix `set-lang-from-mimetype`
Diffstat (limited to 'runtime/queries/authzed')
-rw-r--r--runtime/queries/authzed/injections.scm24
1 files changed, 0 insertions, 24 deletions
diff --git a/runtime/queries/authzed/injections.scm b/runtime/queries/authzed/injections.scm
index 298a8d070..2f0e58eb6 100644
--- a/runtime/queries/authzed/injections.scm
+++ b/runtime/queries/authzed/injections.scm
@@ -1,26 +1,2 @@
((comment) @injection.content
(#set! injection.language "comment"))
-
-((function_call
- name: (ident) @_name
- .
- (simplexpr)
- .
- (simplexpr
- (string
- (string_fragment) @injection.content)+))
- (#any-of? @_name "replace" "search" "matches" "captures")
- (#set! injection.language "regex")
- (#set! injection.combined))
-
-((function_call
- name: (ident) @_name
- .
- (simplexpr)
- .
- (simplexpr
- (string
- (string_fragment) @injection.content)+))
- (#eq? @_name "jq")
- (#set! injection.language "jq")
- (#set! injection.combined))