diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-07-22 15:29:32 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-01-19 16:58:37 +0100 |
| commit | 5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5 (patch) | |
| tree | 2b2856c96ba738d90229a3d6eae44a7f66d7e5e2 /queries/jsonnet | |
| parent | revert "fix(config)!: always install parsers bundled with nvim" (diff) | |
| download | nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.tar nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.tar.gz nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.tar.bz2 nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.tar.lz nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.tar.xz nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.tar.zst nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.zip | |
feat(locals)!: switch to upstream captures
Diffstat (limited to 'queries/jsonnet')
| -rw-r--r-- | queries/jsonnet/locals.scm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/queries/jsonnet/locals.scm b/queries/jsonnet/locals.scm index 5e1f1acc2..583c89e03 100644 --- a/queries/jsonnet/locals.scm +++ b/queries/jsonnet/locals.scm @@ -1,17 +1,17 @@ -(parenthesis) @scope -(anonymous_function) @scope -(object) @scope -(field) @scope -(local_bind) @scope +(parenthesis) @local.scope +(anonymous_function) @local.scope +(object) @local.scope +(field) @local.scope +(local_bind) @local.scope (field - function: (fieldname (id) @definition.function) + function: (fieldname (id) @local.definition.function) (#set! "definition.function.scope" "parent")) -(bind (id) @definition.var) -(bind function: (id) @definition.function) +(bind (id) @local.definition.var) +(bind function: (id) @local.definition.function) -(param (id) @definition.parameter) +(param (id) @local.definition.parameter) -(id) @reference +(id) @local.reference ;(fieldname (id) (#is-not? local)) ; (#is-not?) not supported yet |
