]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/vue.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / vue.yaml
index 4c1c3040fc6469964e5dd6cf3b3f4c1118d8c3a5..f6df706dc7f64cf55df294b83f5241366dbb7242 100644 (file)
@@ -11,14 +11,20 @@ rules:
             - include: "html5"
             
     - default: 
-        start: "<script.*?>"
-        end: "</script.*?>"
+        start: "<script>"
+        end: "</script>"
         rules:
             - include: "javascript"
+
+    - default: 
+        start: "<script[ ]+lang=(\"ts\"|'ts')>"
+        end: "</script>"
+        rules:
+            - include: "typescript"
     
     - default:
         start: "<style.*?>"
         end: "</style.*?>"
         rules:
             - include: "css"
-    
\ No newline at end of file
+