Skip to content

Commit

Permalink
Reformat messages, returning to using a CHANGELOG but making it viewa…
Browse files Browse the repository at this point in the history
…ble via menu

Now we can keep all changes in one file, and the user can open it easily if they wish. News items will continue to be maintained separately
  • Loading branch information
Phidica committed Nov 13, 2017
1 parent 772fad3 commit 81b03ca
Show file tree
Hide file tree
Showing 11 changed files with 91 additions and 49 deletions.
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Changelog
=========

2.2.2
-----

Bugfixes:
- Snippets did not use tabs for indenting (#12)

2.2.1
-----

Bugfixes:
- An argument consisting of a lone `-` was scoped as an option

2.2.0
-----

Improvements:
- 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

Bugfixes:
- Redirected process expansion failed to recognise special names like "self"

2.1.2
-----

Bugfixes:
- A command call line ending with `=` did not terminate (#11)
- An `=` could not safely be a command name

2.1.1
-----

Bugfixes:
- A lone `.` was scoped as a decimal point for a numeric (#10)

2.1.0
-----

New features:
- Support for short (`-x`) and long (`--x=arg`) option arguments using the `variable.parameter` scope (#5)
- Recognise `--` as the end of options and treat further arguments as normal, even if they start with a dash

2.0.1
-----

Bugfixes:
- Comment lines could incorrectly appear after certain line continuations
- stderr redirection into pipe (`^|` and `^^|`) was not recognised
35 changes: 35 additions & 0 deletions Main.sublime-menu
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[
{
"id": "preferences",
"children": [{
"caption": "Package Settings",
"id": "package-settings",
"children": [{
"caption": "fish",
"children": [
{
"caption": "Readme",
"command": "open_file",
"args": {
"file": "${packages}/sublime-fish/README.md"
}
}, {
"caption": "Changelog",
"command": "open_file",
"args": {
"file": "${packages}/sublime-fish/CHANGELOG.md"
}
}, {
"caption": "-"
}, {
"caption": "Issues",
"command": "open_url",
"args": {
"url": "https://github.com/Phidica/sublime-fish/issues"
}
}
]
}]
}]
}
]
6 changes: 0 additions & 6 deletions Messages/changes-2.0.1.md

This file was deleted.

6 changes: 0 additions & 6 deletions Messages/changes-2.1.0.md

This file was deleted.

5 changes: 0 additions & 5 deletions Messages/changes-2.1.1.md

This file was deleted.

6 changes: 0 additions & 6 deletions Messages/changes-2.1.2.md

This file was deleted.

9 changes: 0 additions & 9 deletions Messages/changes-2.2.0.md

This file was deleted.

5 changes: 0 additions & 5 deletions Messages/changes-2.2.1.md

This file was deleted.

5 changes: 0 additions & 5 deletions Messages/changes-2.2.2.md

This file was deleted.

4 changes: 4 additions & 0 deletions Messages/changes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Changes
=======

The fish package has been updated. To see the changes, go to Preferences > Package Settings > fish > Changelog
8 changes: 1 addition & 7 deletions messages.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
{
"2.2.2": "Messages/changes-2.2.2.md",
"2.2.1": "Messages/changes-2.2.1.md",
"2.2.0": "Messages/changes-2.2.0.md",
"2.1.2": "Messages/changes-2.1.2.md",
"2.1.1": "Messages/changes-2.1.1.md",
"2.1.0": "Messages/changes-2.1.0.md",
"2.0.1": "Messages/changes-2.0.1.md",
"2.2.2": "Messages/changes.md",
"2.0.0": "Messages/news-2.0.0.md"
}

0 comments on commit 81b03ca

Please sign in to comment.