mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Exclude trailing underscore from bracket pairs in LaTeX (#272758)
* Remove trailing underscore from bracket scopes * Add unbalancedBracketScopes to TeX also
This commit is contained in:
@@ -66,14 +66,19 @@
|
||||
{
|
||||
"language": "tex",
|
||||
"scopeName": "text.tex",
|
||||
"path": "./syntaxes/TeX.tmLanguage.json"
|
||||
"path": "./syntaxes/TeX.tmLanguage.json",
|
||||
"unbalancedBracketScopes": [
|
||||
"keyword.control.ifnextchar.tex",
|
||||
"punctuation.math.operator.tex"
|
||||
]
|
||||
},
|
||||
{
|
||||
"language": "latex",
|
||||
"scopeName": "text.tex.latex",
|
||||
"path": "./syntaxes/LaTeX.tmLanguage.json",
|
||||
"unbalancedBracketScopes": [
|
||||
"keyword.control.ifnextchar.tex"
|
||||
"keyword.control.ifnextchar.tex",
|
||||
"punctuation.math.operator.tex"
|
||||
],
|
||||
"embeddedLanguages": {
|
||||
"source.cpp": "cpp_embedded_latex",
|
||||
|
||||
Reference in New Issue
Block a user