Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
  • Loading branch information
2 people authored and archseer committed Mar 16, 2023
1 parent f87299f commit 63c23d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helix-lsp/src/snippet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@ mod parser {
digit(),
":",
// according to the grammar there is just a single anything here.
// However in the procese it is explained that placeholders can be nested
// the example there contains both a placeholder text and a nested placeholder
// However in the prose it is explained that placeholders can be nested.
// The example there contains both a placeholder text and a nested placeholder
// which indicates a list. Looking at the VSCode sourcecode, the placeholder
// is indeed parsed as zero_or_more so the grammar is simply incorrect here
zero_or_more(anything(TEXT_ESCAPE_CHARS)),
Expand Down

0 comments on commit 63c23d4

Please sign in to comment.