mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 06:05:27 +02:00
Remove unused FlatShape
s And
/Or
(#14476)
# Description This removes the need for the `shape_and` and `shape_or` entries in the themes. We did not color those underlying FlatShapes or operators differently. Closes #14372 # User-Facing Changes Our theme handling currently doesn't reject invalid entries so should not cause an error. The non-functional nature was already documented.
This commit is contained in:
committed by
GitHub
parent
6bc695f251
commit
acca56f77c
@ -23,7 +23,6 @@ $env.config.color_config = {
|
||||
block: white
|
||||
hints: dark_gray
|
||||
search_result: { bg: red fg: white }
|
||||
shape_and: purple_bold
|
||||
shape_binary: purple_bold
|
||||
shape_block: blue_bold
|
||||
shape_bool: light_cyan
|
||||
@ -48,7 +47,6 @@ $env.config.color_config = {
|
||||
shape_matching_brackets: { attr: u }
|
||||
shape_nothing: light_cyan
|
||||
shape_operator: yellow
|
||||
shape_or: purple_bold
|
||||
shape_pipe: purple_bold
|
||||
shape_range: yellow_bold
|
||||
shape_record: cyan_bold
|
||||
@ -60,4 +58,4 @@ $env.config.color_config = {
|
||||
shape_variable: purple
|
||||
shape_vardecl: purple
|
||||
shape_raw_string: light_purple
|
||||
}
|
||||
}
|
||||
|
@ -632,11 +632,6 @@ $env.config.color_config.shape_glob_interpolation
|
||||
# an expression is not (yet) properly closed.
|
||||
$env.config.color_config.shape_garbage
|
||||
|
||||
# shape_or and shape_and: The and and or operators.
|
||||
# Note: Not currently implemented.
|
||||
$env.config.color_config.shape_or
|
||||
$env.config.color_config.shape_and
|
||||
|
||||
# shape_variable: The *use* of a variable. E.g., `$env` or `$a`.
|
||||
$env.config.color_config.shape_variable
|
||||
|
||||
|
Reference in New Issue
Block a user