mirror of
https://github.com/nushell/nushell.git
synced 2025-07-17 23:02:00 +02:00
# Description We decided to move that specific highlighting task from tree-sitter-nu to lsp for various reasons. https://github.com/nushell/tree-sitter-nu/pull/184 # User-Facing Changes Before: <img width="404" alt="image" src="https://github.com/user-attachments/assets/79fad167-e424-4411-8aa2-334f08ecc4ab" /> After: <img width="404" alt="image" src="https://github.com/user-attachments/assets/8eec7c6c-2f63-4a7d-9e98-9e0c397be6bf" /> # Tests + Formatting +1 # After Submitting
16 lines
200 B
Plaintext
16 lines
200 B
Plaintext
str substring 1..
|
|
| ansi strip
|
|
|
|
# User defined one
|
|
export def "foo bar" [] {
|
|
# inside a block
|
|
(
|
|
# same line
|
|
"🤔🤖🐘" | str substring 1.. | ansi strip
|
|
)
|
|
}
|
|
|
|
foo bar
|
|
|
|
overlay use foo
|