Skip to content

Commit

Permalink
Update README.md and autocomplete API version
Browse files Browse the repository at this point in the history
  • Loading branch information
SunderB committed Jan 30, 2021
1 parent 07cda96 commit b4312a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The [tool-bar](https://atom.io/packages/tool-bar) package for Atom needs to be i
* Added integration with the [tool-bar](https://atom.io/packages/tool-bar) package to add buttons which run some commands to a toolbar.
* Changed some of the default key bindings to be more similar to Sonic Pi's keyboard shortcuts, see below for the key bindings.
* Added options to change the Sonic Pi server IP address and port, and the Sonic Pi GUI IP address and port.
* Updated autocompletions for synths, FX and samples (not nearly as integrated as the official Sonic Pi GUI though)

I'm happy to contribute these changes to rkh/atom-sonic if wanted. :)

Expand Down
1 change: 1 addition & 0 deletions lib/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ module.exports = (provider = {
excludeLowerPriority: false,
completions: completions,

//[attribution]: https://github.com/atom/autocomplete-plus/wiki/Provider-API#generating-a-new-prefix
getPrefix(editor, bufferPosition) {
// Whatever your prefix regex might be
var regex = /[\w0-9_:-]+$/;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"providedServices": {
"autocomplete.provider": {
"versions": {
"2.0.0": "provide"
"4.0.0": "provide"
}
}
},
Expand Down

0 comments on commit b4312a2

Please sign in to comment.