gh-pages
sudormrfbin 2 years ago
parent dbac74980a
commit 6eecde6165

@ -169,9 +169,11 @@ language-server = { command = "mylang-lsp", args = ["--stdio&quot
<tr><td><code>config</code></td><td>Language Server configuration</td></tr>
<tr><td><code>grammar</code></td><td>The tree-sitter grammar to use (defaults to the value of <code>name</code>)</td></tr>
</tbody></table>
<p>When adding a Language Server configuration, be sure to update the
<a href="https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers">Language Server Wiki</a>
with installation notes.</p>
<p>When adding a new language or Language Server configuration for an existing
language, run <code>cargo xtask docgen</code> to add the new configuration to the
<a href="../lang-support.html">Language Support</a> docs before creating a pull request.
When adding a Language Server configuration, be sure to update the
<a href="https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers">Language Server Wiki</a> with installation notes.</p>
<h2 id="grammar-configuration"><a class="header" href="#grammar-configuration">Grammar configuration</a></h2>
<p>If a tree-sitter grammar is available for the language, add a new <code>grammar</code>
entry to <code>languages.toml</code>.</p>

@ -138,10 +138,12 @@
<div id="content" class="content">
<main>
<h1 id="language-support"><a class="header" href="#language-support">Language Support</a></h1>
<p>For more information like arguments passed to default LSP server,
extensions assosciated with a filetype, custom LSP settings, filetype
specific indent settings, etc see the default
<a href="https://github.com/helix-editor/helix/blob/master/languages.toml"><code>languages.toml</code></a> file.</p>
<p>The following languages and Language Servers are supported. In order to use
Language Server features, you must first <a href="https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers">install</a> the
appropriate Language Server.</p>
<p>Check the language support in your installed helix version with <code>hx --health</code>.</p>
<p>Also see the <a href="./languages.html">Language Configuration</a> docs and the <a href="./guides/adding_languages.html">Adding
Languages</a> guide for more language configuration information.</p>
<table><thead><tr><th>Language</th><th>Syntax Highlighting</th><th>Treesitter Textobjects</th><th>Auto Indent</th><th>Default LSP</th></tr></thead><tbody>
<tr><td>bash</td><td></td><td></td><td></td><td><code>bash-language-server</code></td></tr>
<tr><td>c</td><td></td><td></td><td></td><td><code>clangd</code></td></tr>

@ -653,10 +653,12 @@ you to selectively add search terms to your selections.</p>
<tr><td><code>:config-open</code></td><td>Open the helix config.toml file.</td></tr>
</tbody></table>
<div style="break-before: page; page-break-before: always;"></div><h1 id="language-support"><a class="header" href="#language-support">Language Support</a></h1>
<p>For more information like arguments passed to default LSP server,
extensions assosciated with a filetype, custom LSP settings, filetype
specific indent settings, etc see the default
<a href="https://github.com/helix-editor/helix/blob/master/languages.toml"><code>languages.toml</code></a> file.</p>
<p>The following languages and Language Servers are supported. In order to use
Language Server features, you must first <a href="https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers">install</a> the
appropriate Language Server.</p>
<p>Check the language support in your installed helix version with <code>hx --health</code>.</p>
<p>Also see the <a href="./languages.html">Language Configuration</a> docs and the <a href="./guides/adding_languages.html">Adding
Languages</a> guide for more language configuration information.</p>
<table><thead><tr><th>Language</th><th>Syntax Highlighting</th><th>Treesitter Textobjects</th><th>Auto Indent</th><th>Default LSP</th></tr></thead><tbody>
<tr><td>bash</td><td></td><td></td><td></td><td><code>bash-language-server</code></td></tr>
<tr><td>c</td><td></td><td></td><td></td><td><code>clangd</code></td></tr>
@ -1259,9 +1261,11 @@ language-server = { command = &quot;mylang-lsp&quot;, args = [&quot;--stdio&quot
<tr><td><code>config</code></td><td>Language Server configuration</td></tr>
<tr><td><code>grammar</code></td><td>The tree-sitter grammar to use (defaults to the value of <code>name</code>)</td></tr>
</tbody></table>
<p>When adding a Language Server configuration, be sure to update the
<a href="https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers">Language Server Wiki</a>
with installation notes.</p>
<p>When adding a new language or Language Server configuration for an existing
language, run <code>cargo xtask docgen</code> to add the new configuration to the
<a href="guides/../lang-support.html">Language Support</a> docs before creating a pull request.
When adding a Language Server configuration, be sure to update the
<a href="https://github.com/helix-editor/helix/wiki/How-to-install-the-default-language-servers">Language Server Wiki</a> with installation notes.</p>
<h2 id="grammar-configuration"><a class="header" href="#grammar-configuration">Grammar configuration</a></h2>
<p>If a tree-sitter grammar is available for the language, add a new <code>grammar</code>
entry to <code>languages.toml</code>.</p>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save