Skip to content

Commit 0219ebd

Browse files
committed
Add bash to list of supported scopes
1 parent 28e678c commit 0219ebd

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"atom-languageclient": "^0.9.2"
2121
},
2222
"enhancedScopes": [
23-
"source.shell"
23+
"source.shell",
24+
"bash"
2425
],
2526
"providedServices": {
2627
"autocomplete.provider": {

src/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
## 1.0.11
4+
5+
- Add `bash` to list of supported scopes.
6+
I don't think bash was distinguishable from `source.shell` before, but my
7+
hunch is that it was introduced when they release the new code-folding that's
8+
based on tree-sitter.

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const {AutoLanguageClient} = require('atom-languageclient')
55
class BashLanguageClient extends AutoLanguageClient {
66

77
getGrammarScopes () {
8-
return [ 'source.shell' ]
8+
return [ 'source.shell', 'bash' ]
99
}
1010

1111
getLanguageName () {

0 commit comments

Comments
 (0)