mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 03:21:16 -03:00
Correctly highlight input following a tokenizer error
This commit is contained in:
@@ -4626,6 +4626,8 @@ static void test_highlighting() {
|
||||
highlight_tests.push_back({
|
||||
{L"false", highlight_role_t::command},
|
||||
{L"|&", highlight_role_t::error},
|
||||
{L"true", highlight_role_t::command},
|
||||
{L"stuff", highlight_role_t::param},
|
||||
});
|
||||
|
||||
auto &vars = parser_t::principal_parser().vars();
|
||||
|
||||
Reference in New Issue
Block a user