aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
authorPascal Kuthe2023-03-13 18:27:54 +0000
committerBlaž Hrastnik2023-03-16 06:46:08 +0000
commit90348b889f397f2753473764c2d7a02986beddeb (patch)
treeb4da76ddd1a9daf0ff8ca0d572f6a9926cc99d06 /helix-view
parentbbf480007d87631ef7b7f93cef170ec1af961406 (diff)
revamped snippet text element parsing
Snippet text elements can contain escape sequences that must be treated properly. Furthermore snippets must always escape certain characters (like `}` or `\`). The function has been updated to account for that. `text` is now also included with `anything` to match the grammar and can also match empty text. To avoid infinite loops the `non-empty` combinator has been added which is automatically used in the `one_or_more` and `zero_or more` combinator where the problemn would occur.
Diffstat (limited to 'helix-view')
0 files changed, 0 insertions, 0 deletions