-
Notifications
You must be signed in to change notification settings - Fork 8
BracketHighlighter settings
Randy Lai edited this page Sep 30, 2016
·
20 revisions
For those who are interested in getting BracketHighlighter to work, please put the following to bh_core.sublime-settings
. Pre-3119 users should see this.
{
"user_scope_brackets": [
{
"name": "latexmath_block",
"open": "((?<!\\\\)\\$\\$)",
"close": "((?<!\\\\)\\$\\$)",
"style": "default",
"scopes": ["text.tex.latex meta.environment.math"],
"sub_bracket_search": "true",
"enabled": true
}
],
"user_brackets": [
{
"name": "latexmath_angle",
"open": "(\\\\langle)",
"close": "(\\\\rangle)",
"style": "default",
"language_filter": "whitelist",
"language_list": ["LaTeX"],
"scope_exclude": ["comment"],
"find_in_sub_search": "true",
"enabled": true
},
{
"name": "latexmath_leftright",
"open": "(\\\\left(?:[()\\[\\]|]|\\\\[{}|]|\\\\[a-zA-Z]+))",
"close": "(\\\\right(?:[()\\[\\]|]|\\\\[{}|]|\\\\[a-zA-Z]+))",
"style": "default",
"language_filter": "whitelist",
"language_list": ["LaTeX"],
"scope_exclude": ["comment"],
"find_in_sub_search": "true",
"enabled": true
},
{
"name": "latexmath_square",
"open": "((?<!\\\\)\\\\\\[)",
"close": "((?<!\\\\)\\\\\\])",
"style": "square",
"language_filter": "whitelist",
"language_list": ["LaTeX"],
"scope_exclude": ["comment"],
"find_in_sub_search": "true",
"enabled": true
},
{
"name": "latexmath_curly",
"open": "((?<!\\\\)\\\\\\{)",
"close": "((?<!\\\\)\\\\\\})",
"style": "curly",
"language_filter": "whitelist",
"language_list": ["LaTeX"],
"scope_exclude": ["comment"],
"find_in_sub_search": "true",
"enabled": true
},
{
"name": "latexmath_round",
"open": "((?<!\\\\)\\\\\\()",
"close": "((?<!\\\\)\\\\\\))",
"style": "round",
"language_filter": "whitelist",
"language_list": ["LaTeX"],
"scope_exclude": ["comment"],
"find_in_sub_search": "true",
"enabled": true
}
]
}