diff options
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.json | 12 |
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-]+=\"[^\"]*\"" } ] }, |