【发布时间】:2015-04-25 22:24:51
【问题描述】:
我正在编辑例如带有here-documents 的其他语言(awk、python、R、JavaScript 等等)的 shell 脚本。 Sublime 3 会猜测整体语法,但不会对包含的 here-document 进行猜测。
我怎样才能在必要的方向上刺激 Sublime,例如通过在 here-docs 之前和之后的代码中放置任何特殊的 cmets?
#!/bin/bash
echo "This is a test"
awk '/test/' - <<EOF
**This** used to be a test in Markdown.
But this line isn't included in the _output_.
EOF
【问题讨论】:
标签: syntax-highlighting sublimetext3