Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bash datatypes #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions data/Delimiter/bash_multiline_comment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type: comment
start: ": '"
end: "'"
3 changes: 3 additions & 0 deletions data/Delimiter/bash_single_quote.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type: string
start: "'"
end: "'"
28 changes: 28 additions & 0 deletions data/Language/Bash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,33 @@ identifier: Bash
wikidata: Q189248
extensions:
- sh
aliases:
- bash
line_continuation:
- backslash
delimiters:
# comment delimiters:
- hash
- bash_multiline_comment
# string delimiters:
- c_char
- backticks
- double_quote_slash_escape
- bash_single_quote_escape
keywords:
- if
- then
- else
- elif
- fi
- case
- esac
- for
- select
- while
- until
- do
- done
- in
- function
- time
kiy4h marked this conversation as resolved.
Show resolved Hide resolved