aboutsummaryrefslogtreecommitdiffstats
path: root/queries/powershell/locals.scm
diff options
context:
space:
mode:
authorAndrey Chalkin <L2jLiga@gmail.com>2024-08-01 08:40:44 +0200
committerGitHub <noreply@github.com>2024-08-01 08:40:44 +0200
commitfcf79acfd17e7a8da3c96f29be7022bba5607201 (patch)
tree8222a1f281cdc82e9810c89d425768887923c313 /queries/powershell/locals.scm
parentfix(format): field_def inside grouping (diff)
downloadnvim-treesitter-fcf79acfd17e7a8da3c96f29be7022bba5607201.tar
nvim-treesitter-fcf79acfd17e7a8da3c96f29be7022bba5607201.tar.gz
nvim-treesitter-fcf79acfd17e7a8da3c96f29be7022bba5607201.tar.bz2
nvim-treesitter-fcf79acfd17e7a8da3c96f29be7022bba5607201.tar.lz
nvim-treesitter-fcf79acfd17e7a8da3c96f29be7022bba5607201.tar.xz
nvim-treesitter-fcf79acfd17e7a8da3c96f29be7022bba5607201.tar.zst
nvim-treesitter-fcf79acfd17e7a8da3c96f29be7022bba5607201.zip
feat(powershell): added data section name highlights
Diffstat (limited to 'queries/powershell/locals.scm')
-rw-r--r--queries/powershell/locals.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/powershell/locals.scm b/queries/powershell/locals.scm
index 3a8158d3f..e98410992 100644
--- a/queries/powershell/locals.scm
+++ b/queries/powershell/locals.scm
@@ -68,6 +68,10 @@
(unary_expression
(variable) @local.definition.var))))))))))))))
+; data sections
+(data_name
+ (simple_name) @local.definition.var)
+
; References
;-----------
(variable) @local.reference