Skip to content

Commit d1a1a3f

Browse files
committed
0.20.5
1 parent 6d19b7d commit d1a1a3f

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

Cargo.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
[package]
22
name = "tree-sitter-bash"
33
description = "Bash grammar for tree-sitter"
4-
version = "0.20.4"
5-
authors = ["Max Brunsfeld <[email protected]"]
4+
version = "0.20.5"
5+
authors = [
6+
"Max Brunsfeld <[email protected]>",
7+
"Amaan Qureshi <[email protected]>",
8+
]
69
license = "MIT"
710
readme = "bindings/rust/README.md"
811
keywords = ["incremental", "parsing", "bash"]

bindings/rust/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ way.)
99
```toml
1010
[dependencies]
1111
tree-sitter = "0.20.10"
12-
tree-sitter-bash = "0.20.4"
12+
tree-sitter-bash = "0.20.5"
1313
```
1414

1515
Typically, you will use the [language][language func] function to add this

package.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
{
22
"name": "tree-sitter-bash",
3-
"version": "0.20.4",
3+
"version": "0.20.5",
44
"description": "Bash grammar for tree-sitter",
55
"main": "bindings/node",
66
"keywords": [
77
"parser",
88
"lexer",
99
"bash"
1010
],
11-
"author": "Max Brunsfeld",
11+
"author": "Max Brunsfeld <[email protected]>",
12+
"contributors": [
13+
"Amaan Qureshi <[email protected]>"
14+
],
1215
"license": "MIT",
1316
"dependencies": {
1417
"nan": "^2.18.0",
@@ -42,9 +45,15 @@
4245
"tree-sitter": [
4346
{
4447
"scope": "source.bash",
48+
"injection-regex": "(shell|bash|sh)",
49+
"first-line-regex": "^#!.*\\b(sh|bash|dash)\\b.*$",
4550
"file-types": [
4651
"sh",
47-
"bash"
52+
"bash",
53+
".bashrc",
54+
".bash_profile",
55+
"ebuild",
56+
"eclass"
4857
]
4958
}
5059
]

0 commit comments

Comments
 (0)