Fix sh highlighting
This commit is contained in:
parent
1bcfc979dd
commit
ab09f5e38f
2 changed files with 4 additions and 1 deletions
|
|
@ -30,6 +30,9 @@ get_repo() {
|
|||
fi
|
||||
}
|
||||
|
||||
x=(1 2 3)
|
||||
echo ${#x[@]}
|
||||
|
||||
if repo=`get_repo $@`; then
|
||||
branch=`git symbolic-ref HEAD 2>/dev/null`
|
||||
echo "http://github.com/$repo/pull/new/${branch##refs/heads/}"
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ var ShHighlightRules = function() {
|
|||
this.$rules = {
|
||||
"start" : [ {
|
||||
token : "comment",
|
||||
regex : "#.*$"
|
||||
regex : "[^\{]#.*$"
|
||||
}, {
|
||||
token : "string", // " string
|
||||
regex : '"(?:[^\\\\]|\\\\.)*?"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue