1
0
Fork 0
mirror of https://github.com/helix-editor/helix synced 2024-05-07 11:36:04 +02:00
helix/helix-parsec/src
Pascal Kuthe 90348b889f 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.
2023-03-16 15:46:08 +09:00
..
lib.rs revamped snippet text element parsing 2023-03-16 15:46:08 +09:00