Releases: Phidica/sublime-fish
Releases · Phidica/sublime-fish
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"
2.3.0
New feature:
- Automatic indentation and prettification of fish files (#16):
- Utilises the
fish_indent
program that comes with fish - Compatible with Sublime Text 2 and 3 on all platforms
- No additional configuration is necessary for standard fish installs
- Indentation respects user preferences of tab size
- Indentation is restricted to highlighted regions if any are present, otherwise the full file is acted on
- Default shortcut for indentation is
ctrl+alt+i
- Build system execution is also available
- Optionally, turn on automatic indentation at every save in settings
- Utilises the
Bugfixes:
- A block would not scope correctly if an
&
appeared immediately before theend
command - Redirected piping would not scope correctly under
builtin
,command
, orexec
- Escaping a newline could extend the scope one line too far
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
Improvement:
- Make numeric scoping more consistent, and now recognise numbers starting with a plus or minus sign.
After the end of options argument--
, an argument like-5
will be scoped as numeric rather than as an option. Additionally, recognition of sign is important for when numbers are used in index expansion
Bugfix:
- Redirected process expansion failed to recognise special names like "self"