gh-pages
pascalkuthe 1 year ago
parent 2503ca5aa1
commit d81bebec96

@ -287,18 +287,20 @@ Linux and macOS, or <code>%userprofile%\src\</code> on Windows.</p>
<pre><code class="language-sh">RUSTFLAGS=&quot;-C target-feature=-crt-static&quot; <pre><code class="language-sh">RUSTFLAGS=&quot;-C target-feature=-crt-static&quot;
</code></pre> </code></pre>
<ol> <ol>
<li>Clone the repository:</li> <li>
</ol> <p>Clone the repository:</p>
<pre><code class="language-sh">git clone https://github.com/helix-editor/helix <pre><code class="language-sh">git clone https://github.com/helix-editor/helix
cd helix cd helix
</code></pre> </code></pre>
<ol start="2"> </li>
<li>Compile from source:</li> <li>
</ol> <p>Compile from source:</p>
<pre><code class="language-sh">cargo install --path helix-term --locked <pre><code class="language-sh">cargo install --path helix-term --locked
</code></pre> </code></pre>
<p>This command will create the <code>hx</code> executable and construct the tree-sitter <p>This command will create the <code>hx</code> executable and construct the tree-sitter
grammars in the local <code>runtime</code> folder.</p> grammars in the local <code>runtime</code> folder.</p>
</li>
</ol>
<blockquote> <blockquote>
<p>💡 Tree-sitter grammars can be fetched and compiled if not pre-packaged. Fetch <p>💡 Tree-sitter grammars can be fetched and compiled if not pre-packaged. Fetch
grammars with <code>hx --grammar fetch</code> and compile them with grammars with <code>hx --grammar fetch</code> and compile them with

@ -296,18 +296,20 @@ Linux and macOS, or <code>%userprofile%\src\</code> on Windows.</p>
<pre><code class="language-sh">RUSTFLAGS=&quot;-C target-feature=-crt-static&quot; <pre><code class="language-sh">RUSTFLAGS=&quot;-C target-feature=-crt-static&quot;
</code></pre> </code></pre>
<ol> <ol>
<li>Clone the repository:</li> <li>
</ol> <p>Clone the repository:</p>
<pre><code class="language-sh">git clone https://github.com/helix-editor/helix <pre><code class="language-sh">git clone https://github.com/helix-editor/helix
cd helix cd helix
</code></pre> </code></pre>
<ol start="2"> </li>
<li>Compile from source:</li> <li>
</ol> <p>Compile from source:</p>
<pre><code class="language-sh">cargo install --path helix-term --locked <pre><code class="language-sh">cargo install --path helix-term --locked
</code></pre> </code></pre>
<p>This command will create the <code>hx</code> executable and construct the tree-sitter <p>This command will create the <code>hx</code> executable and construct the tree-sitter
grammars in the local <code>runtime</code> folder.</p> grammars in the local <code>runtime</code> folder.</p>
</li>
</ol>
<blockquote> <blockquote>
<p>💡 Tree-sitter grammars can be fetched and compiled if not pre-packaged. Fetch <p>💡 Tree-sitter grammars can be fetched and compiled if not pre-packaged. Fetch
grammars with <code>hx --grammar fetch</code> and compile them with grammars with <code>hx --grammar fetch</code> and compile them with

Loading…
Cancel
Save