Debian Codegraph @

debian/README.Debian

raw
1 # Helix editor for Debian
2
3
4 ## Language grammars
5
6 On Debian, no language grammars are included by default.
7 To fetch parser sources online and compile them,
8 follow these steps:
9
10 1. Read below about limiting amount of grammars to use.
11 2. Run `hx --grammar fetch` to download grammar source code.
12 3. Examine safety of code now located below <~/.config/helix/runtime/>.
13 4. Run `hx --grammar build` to compile grammar plugins.
14
15 By default, the above will fetch and build all 140+ supported grammars,
16 which (on my system at the time of writing) involves 1 GB of source code,
17 several minutes of compilation, and 100+ MB of binary code.
18
19 You might want to only use relevant grammars, as documented here:
20 <https://docs.helix-editor.com/master/languages.html#choosing-grammars>
21
22
23 -- Jonas Smedegaard <[email protected]> Thu, 01 Jun 2023 11:46:19 +0200