mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-07-04 02:41:20 -03:00
Add a feature_test() function
This is a convenience over fish_features().test()
This commit is contained in:
@@ -550,7 +550,7 @@ static void color_argument_internal(const wcstring &buffstr,
|
||||
break;
|
||||
}
|
||||
case L'?': {
|
||||
if (!fish_features().test(features_t::qmark_noglob)) {
|
||||
if (!feature_test(features_t::qmark_noglob)) {
|
||||
colors[in_pos] = highlight_spec_operator;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user