aboutsummaryrefslogtreecommitdiffstats
path: root/queries/dhall
diff options
context:
space:
mode:
authorAmaan Qureshi <amaanq12@gmail.com>2023-04-21 04:06:20 -0400
committerAmaan Qureshi <amaanq12@gmail.com>2023-04-21 18:24:17 -0400
commit85330918f05b3a4bd342a69063e7ef5fcdfadd2e (patch)
tree6b38f8e3af9ad1079ba94ffc7056263b056d0c00 /queries/dhall
parentfix(c): types are optional in sized_type_specifier (diff)
downloadnvim-treesitter-85330918f05b3a4bd342a69063e7ef5fcdfadd2e.tar
nvim-treesitter-85330918f05b3a4bd342a69063e7ef5fcdfadd2e.tar.gz
nvim-treesitter-85330918f05b3a4bd342a69063e7ef5fcdfadd2e.tar.bz2
nvim-treesitter-85330918f05b3a4bd342a69063e7ef5fcdfadd2e.tar.lz
nvim-treesitter-85330918f05b3a4bd342a69063e7ef5fcdfadd2e.tar.xz
nvim-treesitter-85330918f05b3a4bd342a69063e7ef5fcdfadd2e.tar.zst
nvim-treesitter-85330918f05b3a4bd342a69063e7ef5fcdfadd2e.zip
perf: remove match where possible
Diffstat (limited to 'queries/dhall')
-rw-r--r--queries/dhall/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/dhall/highlights.scm b/queries/dhall/highlights.scm
index 4bf79d090..f0c454cf1 100644
--- a/queries/dhall/highlights.scm
+++ b/queries/dhall/highlights.scm
@@ -20,7 +20,7 @@
([
(let_binding (label) @type)
(union_type_entry (label) @type)
-] (#match? @type "^[A-Z]"))
+] (#lua-match? @type "^%u"))
((primitive_expression
(identifier (label) @type)