2.4.0
Improvements:
- Support the
[ ]
form oftest
(#8) - Highlight a
~
in redirect paths - Distinguish arguments which might be paths with
meta.parameter.argument.path
- Distinguish option and argument parameter types, and long and short option types (as well as the "end of options" option).
We now provide the following scopes:meta.parameter.option.long
meta.parameter.option.short
meta.parameter.option.end
meta.parameter.argument
punctuation.definition.option.long.begin
punctuation.definition.option.long.separator
punctuation.definition.option.short
punctuation.definition.option.end
- Distinguish operator types.
We now provide the following scopes:keyword.operator.control
keyword.operator.pipe
keyword.operator.redirect
keyword.operator.range
Bugfixes:
- Some structures were not highlighted correctly if they were immediately followed by the EOF
- Unescaped spaces in brace expansion weren't marked up as invalid
- Quoted integers were not allowed as file descriptors in redirection
Internal changes:
- Rename "argument" to "parameter"
- Rename "nonoption argument" to "argument"
- Rename "command chain" to "pipeline"