mirror of https://github.com/helix-editor/helix
deploy: 14401ff75b
parent
0e4f063be4
commit
b3e5a69c3d
|
@ -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 "[language].format." prefix.
|
# pass format options according to https://github.com/typescript-language-server/typescript-language-server#workspacedidchangeconfiguration omitting the "[language].format." prefix.
|
||||||
|
|
|
@ -2148,7 +2148,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 "[language].format." prefix.
|
# pass format options according to https://github.com/typescript-language-server/typescript-language-server#workspacedidchangeconfiguration omitting the "[language].format." prefix.
|
||||||
|
|
Loading…
Reference in New Issue