mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 08:41:13 +08:00
Test option highlighting in command substitutions
This commit is contained in:
parent
9700a75f38
commit
43c58df873
|
@ -5253,8 +5253,14 @@ static void test_highlighting() {
|
|||
highlight_tests.push_back({
|
||||
{L"echo", highlight_role_t::command},
|
||||
{L"param1", highlight_role_t::param},
|
||||
{L"-l", highlight_role_t::option},
|
||||
{L"--", highlight_role_t::option},
|
||||
{L"-l", highlight_role_t::param},
|
||||
{L"(", highlight_role_t::operat},
|
||||
{L"ls", highlight_role_t::command},
|
||||
{L"-l", highlight_role_t::option},
|
||||
{L"--", highlight_role_t::option},
|
||||
{L"-l", highlight_role_t::param},
|
||||
{L"param2", highlight_role_t::param},
|
||||
{L")", highlight_role_t::operat},
|
||||
{L"|", highlight_role_t::statement_terminator},
|
||||
|
|
Loading…
Reference in New Issue
Block a user