syntax: sh: Add here document as string region (#2953)

This commit is contained in:
Jöran Karl 2023-10-22 00:19:59 +02:00 committed by GitHub
parent f7244d09c6
commit 041ee002dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,6 +56,12 @@ rules:
skip: "\\\\." skip: "\\\\."
rules: [] rules: []
- constant.string:
start: "<<[^\\s]+[-~.]*[A-Za-z0-9]+$"
end: "^[^\\s]+[A-Za-z0-9]+$"
skip: "\\\\."
rules: []
- comment: - comment:
start: "(^|\\s)#" start: "(^|\\s)#"
end: "$" end: "$"