From c11af1c19ca9187a2382f711d3f4162d865268b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Weing=C3=A4rtner?= Date: Fri, 26 Jul 2019 04:57:53 +0200 Subject: [PATCH] ( #1358 ) add vue single-file component syntax highlighting (#1359) * add vue single-file component syntax highlighting * remove unnecessary new line --- runtime/syntax/vue.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 runtime/syntax/vue.yaml diff --git a/runtime/syntax/vue.yaml b/runtime/syntax/vue.yaml new file mode 100644 index 00000000..4c1c3040 --- /dev/null +++ b/runtime/syntax/vue.yaml @@ -0,0 +1,24 @@ +filetype: vue + +detect: + filename: "\\.vue$" + +rules: + - default: + start: "" + end: "" + rules: + - include: "html5" + + - default: + start: "" + end: "" + rules: + - include: "javascript" + + - default: + start: "" + end: "" + rules: + - include: "css" + \ No newline at end of file