mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
f20f3f56c7
The benefit of this is that coloring can be made atomic alongside token stream forwarding. I put the feature behind a flag so I can continue to iterate on it without possibly regressing existing functionality. It's a lot of places where the flags have to go, but I expect it to be a short-lived flag, and the flags are fully contained in the parser.
13 lines
No EOL
431 B
TOML
13 lines
No EOL
431 B
TOML
[hintsv1]
|
|
|
|
description = "Adding hints based upon error states in the syntax highlighter"
|
|
enabled = false
|
|
|
|
[coloring_in_tokens]
|
|
|
|
description = "Move coloring into the TokensIterator so they can be atomic with the rest of the iterator"
|
|
reason = """
|
|
This is laying the groundwork for merging coloring and parsing. It also makes token_nodes.atomic() naturally
|
|
work with coloring, which is pretty useful on its own.
|
|
"""
|
|
enabled = false |