Skip to content

2.4.0

Compare
Choose a tag to compare
@Phidica Phidica released this 16 Apr 11:51
· 146 commits to master since this release

Improvements:

  • Support the [ ] form of test (#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"