mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-31 23:28:45 +00:00
Test option highlighting in command substitutions
This commit is contained in:
parent
9700a75f38
commit
43c58df873
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue