about summary refs log tree commit diff stats
path: root/pkgs/by-name/tr/tree-sitter-yts/src/grammar.json
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-22 15:29:22 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-08-22 15:29:22 +0200
commitb326cb7ca86fe5df0f48c7e05854328bd5b64b23 (patch)
tree4f2462ab6130feeee7af8592bec0fab0875b7bdc /pkgs/by-name/tr/tree-sitter-yts/src/grammar.json
parentfix(pkgs/tree-sitter-yts): Support dashes in flags (diff)
downloadnixos-config-b326cb7ca86fe5df0f48c7e05854328bd5b64b23.tar.gz
nixos-config-b326cb7ca86fe5df0f48c7e05854328bd5b64b23.zip
chore(pkgs/tree-sitter-yts): Regenerate
Diffstat (limited to 'pkgs/by-name/tr/tree-sitter-yts/src/grammar.json')
-rw-r--r--pkgs/by-name/tr/tree-sitter-yts/src/grammar.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/by-name/tr/tree-sitter-yts/src/grammar.json b/pkgs/by-name/tr/tree-sitter-yts/src/grammar.json
index f2de406a..a63633b5 100644
--- a/pkgs/by-name/tr/tree-sitter-yts/src/grammar.json
+++ b/pkgs/by-name/tr/tree-sitter-yts/src/grammar.json
@@ -127,27 +127,27 @@
         },
         {
           "type": "PATTERN",
-          "value": "--\\w+ [^\\s]+"
+          "value": "--\\w[\\w-]+ [^\\s]+"
         },
         {
           "type": "PATTERN",
-          "value": "--\\w+ '[^']*'"
+          "value": "--\\w[\\w-]+ '[^']*'"
         },
         {
           "type": "PATTERN",
-          "value": "--\\w+ \"[^\"]*\""
+          "value": "--\\w[\\w-]+ \"[^\"]*\""
         },
         {
           "type": "PATTERN",
-          "value": "--\\w+=[^\\s]+"
+          "value": "--\\w[\\w-]+=[^\\s]+"
         },
         {
           "type": "PATTERN",
-          "value": "--\\w+='[^']*'"
+          "value": "--\\w[\\w-]+='[^']*'"
         },
         {
           "type": "PATTERN",
-          "value": "--\\w+=\"[^\"]*\""
+          "value": "--\\w[\\w-]+=\"[^\"]*\""
         }
       ]
     },