-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a warning when a near-table is detected (#30)
this PR - makes it that `nu::value::is_table` returns a `nu::value::Table` variant which hold more information about why the value is not a table - adds a warning banner at the bottom to indicate the user why they are seeing a list of records - adds a bunch of new tests for `is_table` for the new table variants - make the colors of the warning banner configurable > **Important** > this will only work with #41, this can be achieved by running > ```bash > git merge bump-set_foreground > ``` > on top of this commit
- Loading branch information
Showing
4 changed files
with
151 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters