summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Łuka <bartoszluka1@gmail.com>2024-01-12 15:13:30 +0100
committerChristian Clason <c.clason@uni-graz.at>2024-01-15 13:01:37 +0100
commit295ab1da52f4c9e0978a95c21dd359afdd0a11b8 (patch)
treee91be59e27d554aed5eebeaa98e426ece93ad04c
parentUpdate parsers: awk (diff)
downloadnvim-treesitter-295ab1da52f4c9e0978a95c21dd359afdd0a11b8.tar
nvim-treesitter-295ab1da52f4c9e0978a95c21dd359afdd0a11b8.tar.gz
nvim-treesitter-295ab1da52f4c9e0978a95c21dd359afdd0a11b8.tar.bz2
nvim-treesitter-295ab1da52f4c9e0978a95c21dd359afdd0a11b8.tar.lz
nvim-treesitter-295ab1da52f4c9e0978a95c21dd359afdd0a11b8.tar.xz
nvim-treesitter-295ab1da52f4c9e0978a95c21dd359afdd0a11b8.tar.zst
nvim-treesitter-295ab1da52f4c9e0978a95c21dd359afdd0a11b8.zip
fix: link type in pattern matching correctly
-rw-r--r--queries/c_sharp/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/c_sharp/highlights.scm b/queries/c_sharp/highlights.scm
index c67d29eb8..bc74a16ff 100644
--- a/queries/c_sharp/highlights.scm
+++ b/queries/c_sharp/highlights.scm
@@ -13,6 +13,9 @@
(method_declaration
type: (identifier) @type)
+(declaration_pattern
+ type: (identifier) @type)
+
(local_function_statement
type: (identifier) @type)