feat(ST2.EditorPackages): BracketHighlighter conf

- trash old BracketHighlighter.sublime_settings
 - new bh_core.sublime-settings
 - update install process
This commit is contained in:
Iristyle
2013-09-16 19:16:10 -04:00
parent e1c32d9c9f
commit 951be33c9e
3 changed files with 73 additions and 17 deletions

View File

@@ -1,16 +0,0 @@
{
"quote_scope" : "brackethighlighter.all",
"curly_scope" : "brackethighlighter.all",
"round_scope" : "brackethighlighter.all",
"square_scope": "brackethighlighter.all",
"angle_scope" : "brackethighlighter.all",
"tag_scope" : "brackethighlighter.all"
// Outline? (solid|outline|underline|none)
//"quote_style" : "outline",
//"curly_style" : "outline",
//"round_style" : "outline",
//"square_style": "outline",
//"angle_style" : "outline",
//"tag_style" : "outline"
}

View File

@@ -0,0 +1,72 @@
{
// Define region highlight styles
"bracket_styles": {
// "default" and "unmatched" styles are special
// styles. If they are not defined here,
// they will be generated internally with
// internal defaults.
// "default" style defines attributes that
// will be used for any style that does not
// explicitly define that attribute. So if
// a style does not define a color, it will
// use the color from the "default" style.
"default": {
"icon": "dot",
// BH1's original default color for reference
// "color": "entity.name.class",
"color": "brackethighlighter.all",
"style": "underline"
},
// This particular style is used to highlight
// unmatched bracekt pairs. It is a special
// style.
"unmatched": {
"icon": "question",
// "color": "brackethighlighter.unmatched",
"style": "outline"
},
// User defined region styles
"curly": {
"icon": "curly_bracket"
// "color": "brackethighlighter.curly",
// "style": "underline"
},
"round": {
"icon": "round_bracket"
// "color": "brackethighlighter.round",
// "style": "underline"
},
"square": {
"icon": "square_bracket"
// "color": "brackethighlighter.square",
// "style": "underline"
},
"angle": {
"icon": "angle_bracket"
// "color": "brackethighlighter.angle",
// "style": "underline"
},
"tag": {
"icon": "tag",
// "color": "brackethighlighter.tag",
"style": "outline"
},
"single_quote": {
"icon": "single_quote"
// "color": "brackethighlighter.quote",
// "style": "underline"
},
"double_quote": {
"icon": "double_quote"
// "color": "brackethighlighter.quote",
// "style": "underline"
},
"regex": {
"icon": "regex"
// "color": "brackethighlighter.quote",
// "style": "underline"
}
}
}

View File

@@ -15,7 +15,7 @@ try {
$sublimeUserDataPath = Get-SublimeUserPath
#straight file copies
'BracketHighlighter.sublime-settings',
'bh_core.sublime-settings',
'EasyMotion.sublime-settings',
'MarkdownPreview.sublime-settings' |
% {