forked from facelessuser/BracketHighlighter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bh_wrapping.sublime-settings
executable file
·77 lines (77 loc) · 4.93 KB
/
bh_wrapping.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"wrapping": [
{
"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}"], "insert_style": ["inline", "block", "indent_block"]}
]
},
{
"enabled": true, "language_list": ["Plain text"], "language_filter": "blacklist", "entries": [
{"name": "() Round", "brackets": ["(", ")${BH_SEL}"], "insert_style": ["inline", "block", "indent_block"]}
]
},
{
"enabled": true, "language_list": ["Plain text"], "language_filter": "blacklist", "entries": [
{"name": "[] Square", "brackets": ["[", "]${BH_SEL}"], "insert_style": ["inline", "block", "indent_block"]}
]
},
{
"enabled": true, "language_list": ["Plain text"], "language_filter": "blacklist", "entries": [
{"name": "'' Single Quotes", "brackets": ["'", "'${BH_SEL}"], "insert_style": ["inline"]},
{"name": "\"\" Double Quotes", "brackets": ["\"", "\"${BH_SEL}"], "insert_style": ["inline"]}
]
},
{
"enabled": true, "language_list": ["Python", "PythonImproved"], "language_filter": "whitelist", "entries": [
{"name": "'''''' Triple Single Quotes", "brackets": ["'''", "'''${BH_SEL}"], "insert_style": ["inline", "block"]},
{"name": "\"\"\"\"\"\" Triple Double Quotes", "brackets": ["\"\"\"", "\"\"\"${BH_SEL}"], "insert_style": ["inline", "block"]}
]
},
{
"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}>"], "insert_style": ["inline", "block", "indent_block"]}
]
},
{
"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": ["LaTeX", "LaTeX (TikZ)", "knitr (Rnw)"], "language_filter": "whitelist", "entries": [
{"name": "LaTeX Environment", "brackets": ["\\begin{${BH_SEL:NAME}}", "\\end{${BH_SEL:NAME}}"], "insert_style": ["block"]}
]
},
{
"enabled": true, "language_list": ["C++", "C", "C Improved"], "language_filter": "whitelist", "entries": [
{"name": "C/C++: #if", "brackets": ["#if ${BH_SEL:/* CONDITION */}", "#endif"], "insert_style": ["block"]},
{"name": "C/C++: #if, #else", "brackets": ["#if ${BH_SEL:/* CONDITION */}", "#else\n${BH_TAB:/* CODE */}\n#endif"], "insert_style": ["block"]},
{"name": "C/C++: #if, #elif", "brackets": ["#if ${BH_SEL:/* CONDITION */}", "#elif ${BH_TAB:/* CONDITION */}\n${BH_TAB:/* CODE */}\n#endif"], "insert_style": ["block"]},
{"name": "C/C++: #ifdef", "brackets": ["#ifdef ${BH_SEL:/* DEFINE */}", "#endif"], "insert_style": ["block"]},
{"name": "C/C++: #ifdef, #else", "brackets": ["#ifdef ${BH_SEL:/* DEFINE */}", "#else\n${BH_TAB:/* CODE */}\n#endif"], "insert_style": ["block"]},
{"name": "C/C++: #ifndef", "brackets": ["#ifndef ${BH_SEL:/* DEFINE */}", "#endif"], "insert_style": ["block"]},
{"name": "C/C++: #ifndef, #else", "brackets": ["#ifndef ${BH_SEL:/* DEFINE */}", "#else\n${BH_TAB:/* CODE */}\n#endif"], "insert_style": ["block"]}
]
},
{
"enabled": true, "language_list": ["Ruby"], "language_filter": "whitelist", "entries": [
{"name": "Ruby: if", "brackets": ["if ${BH_SEL:CONDITION}", "end"], "insert_style": ["indent_block"]},
{"name": "Ruby: until", "brackets": ["until ${BH_SEL:CONDITION}", "end"], "insert_style": ["indent_block"]},
{"name": "Ruby: while", "brackets": ["while ${BH_SEL:CONDITION}", "end"], "insert_style": ["indent_block"]},
{"name": "Ruby: do", "brackets": ["do ${BH_SEL:CONDITION}", "end"], "insert_style": ["indent_block"]},
{"name": "Ruby: def", "brackets": ["def ${BH_SEL:NAME}", "end"], "insert_style": ["indent_block"]}
]
},
{
"enabled": true, "language_list": ["CSS"], "language_filter": "whitelist", "entries": [
{"name": "CSS: @group", "brackets": ["/* @group ${BH_SEL:NAME} */", "/* @end */"], "insert_style": ["block"]}
]
}
]
}