mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:07:35 +00:00
Shell: Use an opaque default color for BarewordLiteral
Use an opaque default color for BarewordLiteral in Syntax Highlighter to avoid transparent barewords.
This commit is contained in:
parent
34825ad3d1
commit
ad722a9f06
1 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,8 @@ private:
|
|||
m_is_first_in_command = false;
|
||||
} else if (node->text().starts_with("-")) {
|
||||
span.attributes.color = m_palette.syntax_preprocessor_statement();
|
||||
} else {
|
||||
span.attributes.color = m_palette.base_text();
|
||||
}
|
||||
}
|
||||
virtual void visit(const AST::CastToCommand* node) override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue