Commit Graph

62 Commits (54ff39a596d2ccfae512b23d8a3460dc1bb0bdac)

Author SHA1 Message Date
Jonathan Davies c5c9e65cc4
Update install instructions (#13079) 2025-03-11 08:41:35 -05:00
Joel Dueck aac0ce5fd1
Update install.md: fix link to lang server install instructions (#12675) 2025-01-26 14:21:13 +09:00
Eduard Bardají Puig 779ce41a1f
Provide more details on runtime directory (#11026)
* Provide more details on runtime directory

* Improve pre-built binaries description
2024-08-10 00:34:18 +09:00
David Else a959c0ef9b
Improve the structure of the documentation (#10619) 2024-05-06 17:39:06 +02:00
Guilherme Salustiano 50b13d1aea
docs[install/pre-build binaries]: add runtime setup (#10693) 2024-05-06 10:09:21 -05:00
Android789515 d570c29ce3
expand upon the arch linux install instructions (#9574)
Signed-off-by: Android789515 <derflug@mailfence.com>
2024-02-09 08:29:11 -06:00
JR 6ce57b7924
Fix export instructions in installation doc (#9306) 2024-01-15 21:43:23 +01:00
NitinKM e46fb58595
Info on how to skip grammar build when building from source (#8698)
* info: no grammar compile

Added instructions on how to compile without compiling grammars

* Update book/src/install.md

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2024-01-08 03:46:53 +01:00
Seth Maurice-Brant 73ca2d5f84
Change Fedora installation to the new official Helix package (#8762)
Remove COPR install in favour of official Helix package
2023-11-17 15:54:30 -06:00
Jeffrey Gelens 7d7ed78681
Add MacPorts as installation option for MacOS (#8663)
* Added MacPorts as installation option for MacOS

* Added macports to ToC
2023-10-30 19:28:55 +01:00
Skyler Hawthorne b5d691a5d7
Add optional runtime fallback directory (#8610) 2023-10-26 01:08:01 +09:00
J. Brock 2fa576b177
Remove snap aliasing instructions (#7657)
The helix snap now gets aliased to hx by default at installation time,
so manual aliasing should no longer be required.

Signed-off-by: Joseph Brock <joseph.brock@protonmail.com>
2023-07-17 09:09:30 -05:00
woojiq ab819ede9a
docs(install): add how to install helix from snap (#7625) 2023-07-14 10:05:49 -05:00
zer0-x 9ccca81305
book: Rename Arch Linux's repository from `community` to `extra` (#7543) 2023-07-05 17:50:16 +02:00
Tshepang Mbambo 9546e0c0a7
docs: align content with parent paragraph (#7488) 2023-06-30 17:09:42 +02:00
kazimir malevich 37fcd160db
Clarify the runtime directory location in installation docs (#6624)
* runtime config made clearer

* following Unix FHS

* we probably want to install Helix as a regular user without sudo access

* suggestions adopted from @the-mikedavis

* attempted to synthesise comments given

* capitalisation of second header

* required changes hopefully made

* we should have a match now

* Linux windows dir match
2023-06-13 03:35:12 +02:00
Tshepang Mbambo 27891cdc8d
misc doc fixes/improvements (#7282) 2023-06-08 13:27:58 +09:00
Rich Seymour 751da01303
Update install.md instructions regarding symlinks (#7231)
* Update install.md

Fixes `ln` command line bug that could hit users moving from packaged to source builds.

* Remove extra 'how to' command example
2023-06-05 02:06:25 +02:00
Martin Weinelt 61a89956e3
book: Mention Helix package in nixpkgs (#7064) 2023-05-26 04:33:20 -05:00
David Else 69332ae3b2
Add Flathub as third party repository (#6994) 2023-05-09 15:38:36 +02:00
David Else 83c307a66a
Improve and update the installation documentation (#6809) 2023-04-20 00:56:18 +02:00
Nico Bos 894c2b9edb
Add Windows install instructions using Winget (#6602) 2023-04-09 14:57:41 -05:00
Gautam Panchal 3da63fa481
Add instructions for installing via AppImage (#6368) 2023-03-20 18:36:27 -05:00
paul-scott ce1fb9e64c
Generalised to multiple runtime directories with priorities (#5411)
* Generalised to multiple runtime directories with priorities

This is an implementation for #3346.

Previously, one of the following runtime directories were used:

1. `$HELIX_RUNTIME`
2. sibling directory to `$CARGO_MANIFEST_DIR`
3. subdirectory of user config directory
4. subdirectory of path to helix executable

The first directory provided / found to exist in this order was used as a
root for all runtime file searches (grammars, themes, queries).

This change lowers the priority of `$HELIX_RUNTIME` so that the user
config runtime has higher priority. More significantly, all of these
directories are now searched for runtime files, enabling a user to override
default or system-level runtime files. If the same file name appears
in multiple runtime directories, the following priority is now used:

1. sibling directory to `$CARGO_MANIFEST_DIR`
2. subdirectory of user config directory
3. `$HELIX_RUNTIME`
4. subdirectory of path to helix executable

One exception to this rule is that a user can have a `themes`
directory directly in the user config directory that has higher piority
to `themes` directories in runtime directories. That behaviour has been
preserved.

As part of implementing this feature `theme::Loader` was simplified
and the cycle detection logic of the theme inheritance was improved to
cover more cases and to be more explicit.

* Removed AsRef usage to avoid binary growth

* Health displaying ;-separated runtime dirs

* Changed HELIX_RUNTIME build from src instructions

* Updated doc for more detail on runtime directories

* Improved health symlink printing and theme cycle errors

The health display of runtime symlinks now prints both ends of the
link.

Separate errors are given when theme file is not found and when the
only theme file found would form an inheritence cycle.

* Satisfied clippy on passing Path

* Clarified highest priority runtime directory purpose

* Further clarified multiple runtime details in book

Also gave markdown headings to subsections.

Fixed a error with table indentation not building
table that also appears present on master.

---------

Co-authored-by: Paul Scott <paul.scott@anu.edu.au>
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
2023-03-09 23:50:43 +09:00
David Else 707457c632
Rewrite and refactor all documentation (#5534)
* Rewrite and refactor all documentation

* Rewrite and refactor the guides

* update runtime directory instructions for windows

* Update the Ubuntu 3rd party repo section with 22.10

* Merge from upstream

* Rewrite and refactor all documentation

* Apply suggestions from code review

Apply the suggestions that can be committed from the GitHub web interface.

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Add Windows themes folder

Co-authored-by: digidoor <37601466+digidoor@users.noreply.github.com>

* Apply the rest of the suggestions from the code review

* Revert "Apply the rest of the suggestions from the code review"

This reverts commit 498be1b7a1.

* Revert "Merge branch 'rewrite-and-refactor-all-documentation' of github.com:David-Else/helix into rewrite-and-refactor-all-documentation"

This reverts commit 7c8404248f, reversing
changes made to d932969cfc.

* Apply code review suggestions

* Changes after re-reading all documents

* Missed a full stop

* Code review suggestions and remove macOS and Windows specific sections

* Add OpenBSD to heading

* Add back macOS and Windows sections and further simplify and improve

* Change wording to nightly

* Remove README installation section and turn into a link

* Simplify building from source and follow code review suggestions

* Code review revisions

* Fix copy paste mistake

* Apply the latest code review suggestions

* More small code review items

* Change minor modes for code review

* Fix link and typos

* Add note that you need a c++ compiler to install the tree-sitter grammars

* Add pacman example

* Make sure all headings are lower case

* Revert to the original passage adding a reference to Windows that was missing

* Update book/src/guides/adding_languages.md

Fix grammar typo

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Update book/src/install.md

Fix tree sitter typo

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* Remove TOC links to main heading

---------

Co-authored-by: CptPotato <3957610+CptPotato@users.noreply.github.com>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Co-authored-by: digidoor <37601466+digidoor@users.noreply.github.com>
2023-03-06 18:27:17 +09:00
Jaeho Choi 0eba0db4a0
docs: Fix PowerShell runtime linking command (#5822) 2023-02-05 13:31:20 -06:00
yashpalgoyal1304 edd0ba7f19
book: Link MSYS2 proper command page (#5601) 2023-01-20 10:05:34 -06:00
Pascal Kuthe 1b69c7b4af
doc: add build instructions for musl-libc (#5572) 2023-01-18 10:01:17 -06:00
Michal Melewski a39a2ce9a8
book: Recommend '--locked' for cargo installs (#5438) 2023-01-07 22:55:35 -05:00
Biswapriyo Nath 6ae092acce
book: Clarify install commands for msys2 in Windows (#5363) 2023-01-07 14:46:45 +09:00
Zhizhen He 0c30aeea5b
fix typo (#4656) 2022-11-08 11:02:49 -06:00
0xflotus 75d7e0555e
fix: small error (#4651) 2022-11-08 08:29:48 -06:00
Konstantin Podsvirov f41f28b662
Update windows install instructions (#4530) 2022-10-30 11:55:31 -05:00
Greg Troszak fbf8078611
Clarify use of `HELIX_RUNTIME` (#4382) 2022-10-20 19:39:30 -05:00
Alex 8c9bb23650
Update windows install instructions (#4351) 2022-10-19 17:19:03 -05:00
David 7af7dadd17
Add instructions for gnome desktop support using the `.desktop` file (#4165) 2022-10-10 12:23:36 -05:00
NotAgentBilly df1ed0a5fd
xcopy - assume destination is a directory (#3686) 2022-09-05 08:42:17 -05:00
Michael Davis e441b1c472
packaging: Point to homebrew-core instead of tap (#3513) 2022-08-31 17:45:38 +09:00
jdrst 598aa7c424
adds xcopy param to recursively copy runtime folder (#3378) 2022-08-09 20:47:04 -05:00
Timothy DeHerrera fefa4d8c59
nix flake: make the binary cache "just work" (#2999) 2022-07-09 11:09:37 -05:00
Amit Beka 6100b1ba08
book: add wiki links to the title page and install page (#3017)
Co-authored-by: amitbeka <--->
2022-07-09 11:08:47 -05:00
川田 恵氏 (Kawada Keishi a.k.a megumish) 244825b9e1
Add runtime `xcopy` command on powershell in docs (#2958) 2022-07-04 12:32:46 -05:00
nitish-17 b31788102e
mention the requirement of C++ compiler for building grammar in doc (#2592) 2022-05-28 11:02:47 -05:00
Robert Walter fba198c1e0
Add documentation for `hx --health` (#2357) 2022-05-02 16:46:25 -05:00
chunghha 3a398eec56
fix typos (#2304) 2022-04-27 14:21:20 -05:00
matan h 02426072cb
add table of OS/command for copy/symlink the runtime folder to the config (#2073)
* create table of OS and commands in the readme

* add link to wiki from health check (without color; just simple println)

* move the table from readme to docs and add link from the readme to docs

* drop copy on unix,and apply some style fixes from the conversations

* by mistake, I edit master insted of develop

* remove this file from pr

* Update README.md

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

* copy table to readme

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-04-20 10:44:11 +09:00
Marcin Puc 924462edda
Add install instructions for Void Linux (#1911) 2022-03-31 14:55:55 -05:00
Michael Davis 7044d7d804 rename '--fetch/build-grammars' flags into '--grammar fetch/build'
The old flags were a bit long. --grammar is also aliased to -g to make
it even easier.
2022-03-10 17:31:57 +09:00
Michael Davis 8081e9f052 replace all submodule documentation with flags documentation 2022-03-10 17:31:57 +09:00
Michael Davis 227e0108e9
add workflow for pushing nix flake artifacts to Cachix (#1721)
* add workflow for pushing nix flake artifacts to Cachix

* add docs on using the cachix cache from nix

* remove submodule clone from cachix workflow

* remove flake check
2022-03-02 11:12:50 +09:00