diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-09-24 22:09:07 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-09-24 22:09:07 -0700 |
| commit | f6d8bc304f287adfac43d06506cd86f354d4d5f1 (patch) | |
| tree | 21b398adcddc68fd6e5f7b085be53333515cfbc4 /grammars | |
| parent | 7df38ca7585e50531b180c200ab57b680d14982c (diff) | |
Optimizations for replacement
Diffstat (limited to 'grammars')
| -rw-r--r-- | grammars/builtins.bpeg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/builtins.bpeg b/grammars/builtins.bpeg index f85a94b..b015580 100644 --- a/grammars/builtins.bpeg +++ b/grammars/builtins.bpeg @@ -16,7 +16,7 @@ replace-all: ( (include-binary-files / is-text-file) define-highlights add-filename - 0+(...@hl-replacement) ... + 0+(...(>pattern hl-replacement)) ... ) find-all: ( (include-binary-files / is-text-file) |
