language-server-protocol/_includes
Falko a6787053e1
Snippet grammar fixes and minor formal improvements throughout the LSP spec (#1886)
* Minor formal improvements throughout the LSP spec

This mostly fixes some grammar, spelling, and punctuation issues
throughout version 3.18 of the LSP specification. Additionally,
some incorrect TypeScript syntax has been fixed.

Meta model files have not been changed.

* Fix EBNF grammar for snippets

To be precise, "fix" refers to the following changes in this commit:
* Incorrect grouping of alternatives has been remedied
* Ambiguities present in the grammar have been fixed,
  the grammar should now be LL(1)-parseable.
* Grammar has been made consistent with the description above it.
  Specifically, characters which have to be escaped per the textual
  description now also need to be escaped per the grammar rules.
* A description for the ':+', ':?', and ':-' modifiers has been
  added, as they seem to not be explained anywhere else in the spec.
  * I have used the VSCode source code as a basis for these.
* The link has been updated to refer to the right EBNF specification,
  as the grammar uses the XML variant rather than the one described
  in the originally linked Wikipedia article.

* Address review comments by @dbaeumer

---------

Co-authored-by: Dirk Bäumer <dirkb@microsoft.com>
2024-01-30 15:27:53 +01:00
..
messages Snippet grammar fixes and minor formal improvements throughout the LSP spec (#1886) 2024-01-30 15:27:53 +01:00
types Snippet grammar fixes and minor formal improvements throughout the LSP spec (#1886) 2024-01-30 15:27:53 +01:00
cookie_notice.html Update to new Microsoft cookie banner 2020-10-11 08:35:37 -07:00
footer.html Update copyright year (#1736) 2023-06-26 10:29:43 +00:00
head.html Fixes #1276: favicon is almost invisible in dark mode browsers 2021-06-04 09:42:00 +02:00
js_files.html Define separate base protocol (#1698) 2023-05-25 09:15:12 +02:00
topnav.html fix a11y issues 2021-10-04 17:47:55 +00:00