Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare some latex related language ids as internal only #241618

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions extensions/latex/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"git": {
"name": "jlelong/vscode-latex-basics",
"repositoryUrl": "https://github.com/jlelong/vscode-latex-basics",
"commitHash": "dfa69a16a1154dbc820dc1111d72faa6954dd1e2"
"commitHash": "ed0a6d72377d89eb90280f4159f2d6cdbd63a3a3"
}
},
"license": "MIT",
"version": "1.10.0",
"version": "1.11.0",
"description": "The files in syntaxes/ were originally part of https://github.com/James-Yu/LaTeX-Workshop. They have been extracted in the hope that they can useful outside of the LaTeX-Workshop extension.",
"licenseDetail": [
"Copyright (c) vscode-latex-basics authors",
Expand Down
14 changes: 7 additions & 7 deletions extensions/latex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@
]
},
{
"id": "cpp_embedded_latex",
"id": "internal_only_cpp_embedded_latex",
"configuration": "latex-cpp-embedded-language-configuration.json",
"aliases": []
},
{
"id": "markdown_latex_combined",
"id": "internal_only_markdown_latex_combined",
"configuration": "markdown-latex-combined-language-configuration.json",
"aliases": []
}
Expand All @@ -73,7 +73,7 @@
"scopeName": "text.tex.latex",
"path": "./syntaxes/LaTeX.tmLanguage.json",
"embeddedLanguages": {
"source.cpp": "cpp_embedded_latex",
"source.cpp": "internal_only_cpp_embedded_latex",
"source.css": "css",
"text.html": "html",
"source.java": "java",
Expand All @@ -85,7 +85,7 @@
"source.ts": "typescript",
"text.xml": "xml",
"source.yaml": "yaml",
"meta.embedded.markdown_latex_combined": "markdown_latex_combined"
"meta.embedded.internal_only_markdown_latex_combined": "internal_only_markdown_latex_combined"
}
},
{
Expand All @@ -94,12 +94,12 @@
"path": "./syntaxes/Bibtex.tmLanguage.json"
},
{
"language": "markdown_latex_combined",
"scopeName": "text.tex.markdown_latex_combined",
"language": "internal_only_markdown_latex_combined",
"scopeName": "text.tex.internal_only_markdown_latex_combined",
"path": "./syntaxes/markdown-latex-combined.tmLanguage.json"
},
{
"language": "cpp_embedded_latex",
"language": "internal_only_cpp_embedded_latex",
"scopeName": "source.cpp.embedded.latex",
"path": "./syntaxes/cpp-grammar-bailout.tmLanguage.json"
}
Expand Down
6 changes: 3 additions & 3 deletions extensions/latex/syntaxes/LaTeX.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/jlelong/vscode-latex-basics/commit/7a35f5e0f19b28f5f1366579e2a9ad34df4f40c9",
"version": "https://github.com/jlelong/vscode-latex-basics/commit/ed0a6d72377d89eb90280f4159f2d6cdbd63a3a3",
"name": "LaTeX",
"scopeName": "text.tex.latex",
"patterns": [
Expand Down Expand Up @@ -2349,11 +2349,11 @@
]
}
},
"contentName": "meta.embedded.markdown_latex_combined",
"contentName": "meta.embedded.internal_only_markdown_latex_combined",
"end": "(\\\\end\\{markdown\\})",
"patterns": [
{
"include": "text.tex.markdown_latex_combined"
"include": "text.tex.internal_only_markdown_latex_combined"
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"version": "https://github.com/jlelong/vscode-latex-basics/commit/dfa69a16a1154dbc820dc1111d72faa6954dd1e2",
"version": "https://github.com/jlelong/vscode-latex-basics/commit/ed0a6d72377d89eb90280f4159f2d6cdbd63a3a3",
"name": "Markdown",
"scopeName": "text.tex.markdown_latex_combined",
"scopeName": "text.tex.internal_only_markdown_latex_combined",
"patterns": [
{
"include": "text.tex.latex"
Expand Down