Commit Graph

17 Commits

Author SHA1 Message Date
Qi Xiao
2941f5308e Fix deprecated code in epm. 2021-12-07 00:44:28 +00:00
Harald Hanche-Olsen
fe8af31f2d Fix deprecated code in readline-bindings 2021-12-07 00:30:33 +00:00
Qi Xiao
246706aeca website: Preserve ":" in elvdoc header IDs.
This fixes #1430.
2021-11-29 23:47:59 +00:00
Qi Xiao
a0b93968a3 Fix broken relative links. 2021-11-29 20:03:09 +00:00
Kurtis Rader
d4b4edbbbe Replace legacy lambda with new lambda examples
I was surprised to see so many legacy lambda syntax examples in the
documentation. This replaces all of them with the new syntax -- excluding
the handful of cases meant to explicitly verify the legacy form is still
valid. This also adds a link to the issue in the release notes which
documents the change in syntax.

Related #664
2021-11-28 21:30:59 +00:00
Qi Xiao
08c5f512bf Apply more tweaks to the path module's elvdoc. 2021-11-28 21:14:43 +00:00
Kurtis Rader
bf04fae352 Improve the path: module documentation
This change is due to a recent IM discussion wherein someone had
difficulty finding the `path:is-regular` command. It attempts to make
such discovery easier.
2021-11-28 21:13:46 +00:00
Sauyon Lee
cf4539ae9e Add transpose binds to readline-binding 2021-11-07 14:50:57 +00:00
Qi Xiao
d71e52cbd7 Refactor the API of eval.NsBuilder to be completely based on methods. 2021-10-23 21:44:11 +01:00
Qi Xiao
41cbcfb1b1 Move elvdoc for the re module to the Go source. 2021-10-23 13:31:44 +01:00
Qi Xiao
0fd916c418 Document the &max option of str:split. 2021-10-23 13:19:14 +01:00
Qi Xiao
b42cfaea61 Remove references to ~/.elvish in documentation.
This fixes #1399.
2021-10-23 12:16:50 +01:00
Qi Xiao
e299010be8 pkg/eval: Export the config fields and remove access methods. 2021-10-05 00:53:38 +01:00
Qi Xiao
0571db69e2 Remove commands deprecated in 0.16.0, and deprecate dir-history. 2021-10-03 16:47:51 +01:00
Qi Xiao
2e6a3abce5 Expose all functionalities of the persistent store in the store: module.
This fixes #1032.
2021-10-03 16:34:52 +01:00
Qi Xiao
ab59ef9062 Move bundled modules into .elv files.
- Use go:embed (available since Go 1.16) to embed them into the binary

- Teach elvdoc to support comments starting with #, and find *.elv when given a directory
2021-08-24 16:18:30 +01:00
Qi Xiao
47de83c7d1 Reorganize standard library modules.
- Move from pkg/eval/mods to pkg/mods

- Introduce mods.AddTo that adds all standard library modules

- Move epm and readline-binding into their own packages
2021-08-24 15:56:04 +01:00