aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp/src
diff options
context:
space:
mode:
authorPascal Kuthe2023-03-15 23:16:22 +0000
committerBlaž Hrastnik2023-03-16 06:46:08 +0000
commit63c23d4bb02441ce8340759d598c789569e283f2 (patch)
tree5bc9f491f293fceb0baac8e6ea7f317dfc02d219 /helix-lsp/src
parentf87299f1b7512ac06e96c77eeb22459389573ada (diff)
fix typo
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'helix-lsp/src')
-rw-r--r--helix-lsp/src/snippet.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-lsp/src/snippet.rs b/helix-lsp/src/snippet.rs
index 13e7609f..4706a984 100644
--- a/helix-lsp/src/snippet.rs
+++ b/helix-lsp/src/snippet.rs
@@ -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)),