# Helix editor for Debian


## Language grammars

On Debian, no language grammars are included by default.
To fetch parser sources online and compile them,
follow these steps:

 1. Read below about limiting amount of grammars to use.
 2. Run `hx --grammar fetch` to download grammar source code.
 3. Examine safety of code now located below <~/.config/helix/runtime/>.
 4. Run `hx --grammar build` to compile grammar plugins.

By default, the above will fetch and build all 140+ supported grammars,
which (on my system at the time of writing) involves 1 GB of source code,
several minutes of compilation, and 100+ MB of binary code.

You might want to only use relevant grammars, as documented here:
<https://docs.helix-editor.com/master/languages.html#choosing-grammars>


 -- Jonas Smedegaard <dr@jones.dk>  Thu, 01 Jun 2023 11:46:19 +0200
