Fix sh highlighting
This commit is contained in:
parent
1bcfc979dd
commit
ab09f5e38f
2 changed files with 4 additions and 1 deletions
|
|
@ -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