diff --git a/runtime/syntax/sh.yaml b/runtime/syntax/sh.yaml index e6f75a80d1..8d1f91359d 100644 --- a/runtime/syntax/sh.yaml +++ b/runtime/syntax/sh.yaml @@ -57,8 +57,8 @@ rules: rules: [] - constant.string: - start: "<<[^\\s]+[-~.]*[A-Za-z0-9]+$" - end: "^[^\\s]+[A-Za-z0-9]+$" + start: "<<-?[\\s]*[\\w,.:~#!§$%=?@*+-]+$" + end: "^[\\w,.:~#!§$%=?@*+-]+$" skip: "\\\\." rules: []