# HG changeset patch # User Tuomo Valkonen # Date 1589404376 18000 # Node ID a65b8c098aa6d29e3525a326637d8b6aeed270b1 # Parent f7b4c735246779a4aa08c290467a77561f0afe74 It does not in the end seem possible to have a separate “LaTeX+” language for syntax highlighting while being able to use texlab. So don't try to provide an alternative. Hopefully this works without conflicts… diff -r f7b4c7352467 -r a65b8c098aa6 README.md --- a/README.md Wed May 13 15:41:41 2020 -0500 +++ b/README.md Wed May 13 16:12:56 2020 -0500 @@ -17,11 +17,6 @@ The highlighting of todo-notes and footnotes has to be specifically configured: see below. -### How to enable - -This package does not override the standard “LaTeX” grammar. It provides the -“LaTeX+” grammar. Please select that as the default grammar for `.tex` files. - ### Regarding `todonotes` and `footnote` support Unfortunately, VSCode does not appear to let extensions contribute token colours diff -r f7b4c7352467 -r a65b8c098aa6 package.json --- a/package.json Wed May 13 15:41:41 2020 -0500 +++ b/package.json Wed May 13 16:12:56 2020 -0500 @@ -24,9 +24,9 @@ "contributes": { "languages": [ { - "id": "texplus", + "id": "tex", "aliases": [ - "TeX+", + "TeX", "texplus" ], "extensions": [ @@ -36,7 +36,7 @@ "configuration": "./languages/tex.json" }, { - "id": "latexplus", + "id": "latex", "aliases": [ "LaTeX+", "latexplus" @@ -49,12 +49,12 @@ ], "grammars": [ { - "language": "texplus", + "language": "tex", "scopeName": "text.tex", "path": "./syntaxes/TeX.tmLanguage.json" }, { - "language": "latexplus", + "language": "latex", "scopeName": "text.tex.latex", "path": "./syntaxes/LaTeX.tmLanguage.json", "embeddedLanguages": { @@ -80,7 +80,7 @@ "text.html.markdown" ], "embeddedLanguages": { - "meta.embedded.block.latex": "latexplus" + "meta.embedded.block.latex": "latex" } } ]