package.json

changeset 0
aa9fc390ce91
child 5
993903fd4434
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/package.json	Mon May 11 17:50:17 2020 -0500
@@ -0,0 +1,88 @@
+{
+    "name": "latex-syntax",
+    "displayName": "latex-syntax",
+    "description": "Rich LaTeX syntax highlighting (for use with Texlab)",
+    "version": "0.0.1",
+    "publisher": "vomout",
+    "license": "MIT",
+    "homepage": "https://tuomov.iki.fi/software/",
+    "repository": {
+      "type": "mercurial",
+      "url": "https://tuomov.iki.fi/repos/latex-syntax/"
+    },
+    "engines": {
+        "vscode": "^1.45.0"
+    },
+    "categories": [
+        "Programming Languages"
+    ],
+    "keywords": [
+        "latex",
+        "tex",
+        "bibtex"
+    ],
+    "contributes": {
+        "languages": [
+            {
+                "id": "tex",
+                "aliases": [
+                    "TeX+",
+                    "texplus"
+                ],
+                "extensions": [
+                    ".sty",
+                    ".cls"
+                ],
+                "configuration": "./languages/tex.json"
+            },
+            {
+                "id": "latex",
+                "aliases": [
+                    "LaTeX+",
+                    "latexplus"
+                ],
+                "extensions": [
+                    ".tex"
+                ],
+                "configuration": "./languages/latex.json"
+            }
+        ],
+        "grammars": [
+            {
+                "language": "tex",
+                "scopeName": "text.tex",
+                "path": "./syntaxes/TeX.tmLanguage.json"
+            },
+            {
+                "language": "latex",
+                "scopeName": "text.tex.latex",
+                "path": "./syntaxes/LaTeX.tmLanguage.json",
+                "embeddedLanguages": {
+                    "source.asymptote": "asymptote",
+                    "source.cpp": "cpp",
+                    "source.css": "css",
+                    "source.dot": "dot",
+                    "source.gnuplot": "gnuplot",
+                    "text.html": "html",
+                    "source.java": "java",
+                    "source.js": "js",
+                    "source.lua": "lua",
+                    "source.python": "python",
+                    "source.scala": "scala",
+                    "text.xtml": "xtml",
+                    "source.yaml": "yaml"
+                }
+            },
+            {
+                "scopeName": "markdown.latex.codeblock",
+                "path": "./syntax/latexblock.json",
+                "injectTo": [
+                    "text.html.markdown"
+                ],
+                "embeddedLanguages": {
+                    "meta.embedded.block.latex": "latex"
+                }
+            }
+        ]
+    }
+}
\ No newline at end of file

mercurial