From 8aa21427f4398a42116fcc01f8040d8f82b830dc Mon Sep 17 00:00:00 2001 From: fusion809 Date: Thu, 2 Jun 2016 06:40:55 +1000 Subject: [PATCH 1/3] Updating --- grammars/shell-unix-bash.cson | 11 +++++++++++ package.json | 14 +++++++++----- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/grammars/shell-unix-bash.cson b/grammars/shell-unix-bash.cson index f775164..a724640 100644 --- a/grammars/shell-unix-bash.cson +++ b/grammars/shell-unix-bash.cson @@ -1012,6 +1012,17 @@ 'name': 'support.function.builtin.shell' } ] + 'support': + 'patterns': [ + { + 'match': '(?<=^|\\s)(?::|\\.)(?=\\s|;|&|$)' + 'name': 'support.function.unix.shell' + } + { + 'match': '(?", + "readme": "./README.md", "description": "ShellScript language support in Atom", "engines": { "atom": "*", "node": "*" }, - "homepage": "http://atom.github.io/language-shellscript", + "homepage": "http://atom.io/language-shellscript", "repository": { "type": "git", - "url": "https://github.com/atom/language-shellscript.git" + "url": "https://github.com/fusion809/language-shellscript.git" }, "license": "MIT", "bugs": { - "url": "https://github.com/atom/language-shellscript/issues" + "url": "https://github.com/fusion809/language-shellscript/issues" }, "devDependencies": { - "coffeelint": "^1.10.1" + "coffeelint": "^1.10.1", + "coffee-script": "^1.8.0" } } From bd9bd079e631cf4a7fd041ead43d3d19fd41f5ba Mon Sep 17 00:00:00 2001 From: fusion809 Date: Thu, 2 Jun 2016 08:28:17 +1000 Subject: [PATCH 2/3] Adding support for coreutils, package managers and extra Unix commands --- grammars/shell-unix-bash.cson | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/grammars/shell-unix-bash.cson b/grammars/shell-unix-bash.cson index a724640..1d887c8 100644 --- a/grammars/shell-unix-bash.cson +++ b/grammars/shell-unix-bash.cson @@ -1008,19 +1008,20 @@ 'name': 'support.function.builtin.shell' } { - 'match': '(? Date: Thu, 2 Jun 2016 08:32:46 +1000 Subject: [PATCH 3/3] Adjusting package.json back to original --- package.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 057505f..38cf47d 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,7 @@ { - "name": "language-shellscript2", + "name": "language-shellscript", "version": "0.22.3", "author": "GitHub, Inc.", - "contributor": "Brenton Horne ", "readme": "./README.md", "description": "ShellScript language support in Atom", "engines": { @@ -12,11 +11,11 @@ "homepage": "http://atom.io/language-shellscript", "repository": { "type": "git", - "url": "https://github.com/fusion809/language-shellscript.git" + "url": "https://github.com/atom/language-shellscript.git" }, "license": "MIT", "bugs": { - "url": "https://github.com/fusion809/language-shellscript/issues" + "url": "https://github.com/atom/language-shellscript/issues" }, "devDependencies": { "coffeelint": "^1.10.1",