d66a5398d1
Remove month and year duration constants ( #6613 )
...
remove month/year/decade durations for parsing and units, but leave the humanized output for viewing
2022-09-26 09:55:13 +13:00
f46962d236
Fix scoped overlay use
not finding a module ( #6474 )
...
* Add source-env test for dynamic path
* Use correct module ID for env overlay imports
* Remove parser check from "overlay list"
It would cause unnecessary errors from some inner scope if some
overlay module was also defined in some inner scope.
* Restore Cargo.lock back
* Remove comments
2022-09-04 18:36:42 +03:00
d856ac92f4
expand durations to include month, year, decade ( #6123 )
...
* expand durations to include month, year, decade
* remove commented out fn
* oops, found more debug comments
* tweaked tests for the new way, borrowed heavily from chrono-humanize-rs
* clippy
* grammar
2022-07-26 08:05:37 -05:00
5ff2ae628b
nu-cli: directory syntax shape + completions ( #5299 )
2022-04-22 15:18:51 -05:00
76079d5183
Move config to be an env var ( #5230 )
...
* Move config to be an env var
* fix fmt and tests
2022-04-19 10:28:01 +12:00
1314a87cb0
update miette and switch to GenericErrors ( #5222 )
2022-04-19 00:34:10 +12:00
97eb8492a3
Improve $in
handling ( #5137 )
...
* Simplify in logic
* Add tests
* more tests, and fixes
2022-04-09 09:41:05 +12:00
591fb4bd36
Add unary not ( #5111 )
2022-04-07 07:10:25 +12:00
983d115bc0
Add an alias denylist for expansions ( #4871 )
2022-03-19 08:03:57 +13:00
a6a96b29cb
Add binary literals ( #4680 )
2022-02-28 18:31:53 -05:00
308ab91aff
Speed up the parser and nuon parser a bit more ( #4626 )
2022-02-24 07:58:53 -05:00
4b18fdcc6e
Date literals ( #4619 )
...
* Date literals
* update deps
* Add date+duration
2022-02-23 21:02:48 -05:00
a96f8b891e
more strict nuon handling, better nuon errors ( #4576 )
...
* more strict nuon handling, better nuon errors
* Improve errors a bit more
2022-02-20 22:31:50 -05:00
fd22211737
Add nuon format for fun ( #4401 )
...
* Add nuon format for fun
* more fun
* More nuon fixes, allow comments, improve errors
2022-02-20 16:26:41 -05:00