pull/11885/head
pascalkuthe 2023-09-08 17:15:59 +00:00
parent 0e4f063be4
commit b3e5a69c3d
2 changed files with 2 additions and 2 deletions

View File

@ -289,7 +289,7 @@ languages = { typescript = [ { formatCommand ="prettier --stdin-filepath ${
</tbody></table> </tbody></table>
</div> </div>
<p>A <code>format</code> sub-table within <code>config</code> can be used to pass extra formatting options to <p>A <code>format</code> sub-table within <code>config</code> can be used to pass extra formatting options to
<a href="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</a>. <a href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_formatting">Document Formatting Requests</a>.
For example, with typescript:</p> For example, with typescript:</p>
<pre><code class="language-toml">[language-server.typescript-language-server] <pre><code class="language-toml">[language-server.typescript-language-server]
# pass format options according to https://github.com/typescript-language-server/typescript-language-server#workspacedidchangeconfiguration omitting the &quot;[language].format.&quot; prefix. # pass format options according to https://github.com/typescript-language-server/typescript-language-server#workspacedidchangeconfiguration omitting the &quot;[language].format.&quot; prefix.

View File

@ -2148,7 +2148,7 @@ languages = { typescript = [ { formatCommand =&quot;prettier --stdin-filepath ${
</tbody></table> </tbody></table>
</div> </div>
<p>A <code>format</code> sub-table within <code>config</code> can be used to pass extra formatting options to <p>A <code>format</code> sub-table within <code>config</code> can be used to pass extra formatting options to
<a href="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</a>. <a href="https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_formatting">Document Formatting Requests</a>.
For example, with typescript:</p> For example, with typescript:</p>
<pre><code class="language-toml">[language-server.typescript-language-server] <pre><code class="language-toml">[language-server.typescript-language-server]
# pass format options according to https://github.com/typescript-language-server/typescript-language-server#workspacedidchangeconfiguration omitting the &quot;[language].format.&quot; prefix. # pass format options according to https://github.com/typescript-language-server/typescript-language-server#workspacedidchangeconfiguration omitting the &quot;[language].format.&quot; prefix.