1
0
mirror of https://github.com/nushell/nushell.git synced 2025-03-14 07:28:42 +01:00
nushell/crates/nu-std/std
zc he 44b7cfd696
refactor: tree-sitter-nu friendly alternative expressions ()
# Description

Choose more tree-sitter-nu-friendly (if not better) expressions in nu
scripts.
The changes made in this PR all come from known issues of
`tree-sitter-nu`.

1. nested single/double quotes:
https://github.com/nushell/tree-sitter-nu/issues/125
2. module path of `use` command:
https://github.com/nushell/tree-sitter-nu/issues/165
3. where predicates of boolean column:
https://github.com/nushell/tree-sitter-nu/issues/177
4. `error make` keyword:
https://github.com/nushell/tree-sitter-nu/issues/179

Those issues are either hard to fix or "not planned" for syntactical
precision considerations ATM.

# User-Facing Changes

Should be none

# Tests + Formatting

# After Submitting
2025-03-12 08:48:19 -05:00
..
assert Replace "function" with "command" in several user-facing doc () 2025-02-17 14:10:38 -05:00
bench allow bench to handle larger numbers () 2025-02-25 15:02:42 +01:00
config Remove unused FlatShapes And/Or () 2024-11-29 22:23:40 +01:00
dirs feat(std/dirs): retain state in subshells or with exec-restarts () 2025-02-11 19:51:43 -05:00
dt Custom command attributes () 2025-02-11 06:34:51 -06:00
formats Replace "function" with "command" in several user-facing doc () 2025-02-17 14:10:38 -05:00
help refactor: tree-sitter-nu friendly alternative expressions () 2025-03-12 08:48:19 -05:00
input Fix usages of fmt to format number () 2025-02-07 23:50:33 +01:00
iter Replace "function" with "command" in several user-facing doc () 2025-02-17 14:10:38 -05:00
log Replace "function" with "command" in several user-facing doc () 2025-02-17 14:10:38 -05:00
math Virtual std module subdirectories () 2024-10-10 06:56:37 -05:00
prelude Replace "function" with "command" in several user-facing doc () 2025-02-17 14:10:38 -05:00
testing Custom command attributes () 2025-02-11 06:34:51 -06:00
util Replace "function" with "command" in several user-facing doc () 2025-02-17 14:10:38 -05:00
xml Replace "function" with "command" in several user-facing doc () 2025-02-17 14:10:38 -05:00
mod.nu Replace "function" with "command" in several user-facing doc () 2025-02-17 14:10:38 -05:00