From 14401ff75b90cbd98d39eb4b7b5442ad43b49e31 Mon Sep 17 00:00:00 2001 From: Theodore Gregory <5040901+tjmgregory@users.noreply.github.com> Date: Fri, 8 Sep 2023 19:15:42 +0200 Subject: [PATCH] docs: fix link to document formatting requests (#8166) --- book/src/languages.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/languages.md b/book/src/languages.md index 5e56a332..778489f8 100644 --- a/book/src/languages.md +++ b/book/src/languages.md @@ -127,7 +127,7 @@ These are the available options for a language server. | `environment` | Any environment variables that will be used when starting the language server `{ "KEY1" = "Value1", "KEY2" = "Value2" }` | A `format` sub-table within `config` can be used to pass extra formatting options to -[Document Formatting Requests](https://github.com/microsoft/language-server-protocol/blob/gh-pages/_specifications/specification-3-17.md#document-formatting-request--leftwards_arrow_with_hook). +[Document Formatting Requests](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_formatting). For example, with typescript: ```toml