mirror of
https://github.com/microsoft/language-server-protocol.git
synced 2025-12-23 08:48:16 +00:00
Merge ceb1adaaf9 into f1b5515dd9
This commit is contained in:
commit
efd5318a2a
1 changed files with 1 additions and 1 deletions
|
|
@ -934,7 +934,7 @@ ${TM_FILENAME/(.*)\..+$/$1/}
|
|||
Below is the grammar for snippets in EBNF ([extended Backus-Naur form, XML variant](https://www.w3.org/TR/xml/#sec-notation)). With `\` (backslash), you can escape `$`, `}` and `\`. Within choice elements, the backslash also escapes comma and pipe characters. Only the characters required to be escaped can be escaped, so `$` should not be escaped within these constructs and neither `$` nor `}` should be escaped inside choice constructs.
|
||||
|
||||
```
|
||||
any ::= tabstop | placeholder | choice | variable | text
|
||||
any ::= (tabstop | placeholder | choice | variable | text)+
|
||||
tabstop ::= '$' int | '${' int '}'
|
||||
placeholder ::= '${' int ':' any '}'
|
||||
choice ::= '${' int '|' choicetext (',' choicetext)* '|}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue