forked from facelessuser/BracketHighlighter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bh_swapping.sublime-settings
46 lines (46 loc) · 2.3 KB
/
bh_swapping.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"swapping": [
{
"enabled": true, "language_list": [], "language_filter": "whitelist", "entries": [
{"name": "<> Angle", "brackets": ["<", ">${BH_SEL}"]}
]
},
{
"enabled": true, "language_list": ["Plain text"], "language_filter": "blacklist", "entries": [
{"name": "{} Curly", "brackets": ["{", "}${BH_SEL}"]}
]
},
{
"enabled": true, "language_list": ["Plain text"], "language_filter": "blacklist", "entries": [
{"name": "() Round", "brackets": ["(", ")${BH_SEL}"]}
]
},
{
"enabled": true, "language_list": ["Plain text"], "language_filter": "blacklist", "entries": [
{"name": "[] Square", "brackets": ["[", "]${BH_SEL}"]}
]
},
{
"enabled": true, "language_list": ["HTML", "HTML 5", "XML", "PHP", "HTML+CFML", "ColdFusion", "ColdFusionCFC"], "language_filter": "whitelist", "entries": [
{"name": "HTML/XML Tag", "brackets": ["<${BH_SEL:NAME}>", "</${BH_SEL:NAME}>"]}
]
},
{
"enabled": true, "language_list": ["Markdown"], "language_filter": "whitelist", "entries": [
{"name": "Mardown: Bold", "brackets": ["**", "**${BH_SEL}"]},
{"name": "Mardown: Italic", "brackets": ["_", "_${BH_SEL}"]}
]
},
{
"enabled": true, "language_list": ["C++", "C"], "language_filter": "whitelist", "entries": [
{"name": "C/C++: #if", "brackets": ["#if ${BH_SEL}", "#endif"]},
{"name": "C/C++: #if, #else", "brackets": ["#if${BH_SEL}", "#else\n${BH_TAB:/* CODE */}\n#endif"]},
{"name": "C/C++: #if, #elif", "brackets": ["#if${BH_SEL}", "#elif ${BH_TAB:/* CONDITION */}\n${BH_TAB:/* CODE */}\n#endif"]},
{"name": "C/C++: #ifdef", "brackets": ["#ifdef${BH_SEL}", "#endif"]},
{"name": "C/C++: #ifdef, #else", "brackets": ["#ifdef${BH_SEL}", "#else\n${BH_TAB:/* CODE */}\n#endif"]},
{"name": "C/C++: #ifndef", "brackets": ["#ifndef${BH_SEL}", "#endif"]},
{"name": "C/C++: #ifndef, #else", "brackets": ["#ifndef${BH_SEL}", "#else\n${BH_TAB:/* CODE */}\n#endif"]}
]
}
]
}