pull/11885/head
archseer 3 years ago
parent 7737f27107
commit 3efff933d0

@ -139,7 +139,7 @@
<main> <main>
<h1 id="adding-languages"><a class="header" href="#adding-languages">Adding languages</a></h1> <h1 id="adding-languages"><a class="header" href="#adding-languages">Adding languages</a></h1>
<h2 id="submodules"><a class="header" href="#submodules">Submodules</a></h2> <h2 id="submodules"><a class="header" href="#submodules">Submodules</a></h2>
<p>To add a new langauge, you should first add a tree-sitter submodule. To do this, <p>To add a new language, you should first add a tree-sitter submodule. To do this,
you can run the command</p> you can run the command</p>
<pre><code class="language-sh">git submodule add -f &lt;repository&gt; helix-syntax/languages/tree-sitter-&lt;name&gt; <pre><code class="language-sh">git submodule add -f &lt;repository&gt; helix-syntax/languages/tree-sitter-&lt;name&gt;
</code></pre> </code></pre>

@ -837,7 +837,7 @@ auto-format = false
tree-sitter grammers, textobject queries, etc.</p> tree-sitter grammers, textobject queries, etc.</p>
<div style="break-before: page; page-break-before: always;"></div><h1 id="adding-languages"><a class="header" href="#adding-languages">Adding languages</a></h1> <div style="break-before: page; page-break-before: always;"></div><h1 id="adding-languages"><a class="header" href="#adding-languages">Adding languages</a></h1>
<h2 id="submodules"><a class="header" href="#submodules">Submodules</a></h2> <h2 id="submodules"><a class="header" href="#submodules">Submodules</a></h2>
<p>To add a new langauge, you should first add a tree-sitter submodule. To do this, <p>To add a new language, you should first add a tree-sitter submodule. To do this,
you can run the command</p> you can run the command</p>
<pre><code class="language-sh">git submodule add -f &lt;repository&gt; helix-syntax/languages/tree-sitter-&lt;name&gt; <pre><code class="language-sh">git submodule add -f &lt;repository&gt; helix-syntax/languages/tree-sitter-&lt;name&gt;
</code></pre> </code></pre>

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