I’m looking for any plugin to match if / endif foreach / endforeach. Just installed BracketHighlighter from control panel but it doesn’t work.
I see many posts in this thread with promising settings like this:
{
"name": "php_keywords",
"open": "^\\s*\\b(if|foreach|while)\\b(?=.*:$)",
"close": "^\\s*\\b(endif\\b|endforeach\\b|endwhile(?=;$))",
"icon": "dot",
"color": "brackethighlighter.tag",
"style": "underline",
"language_filter": "whitelist",
"scope_exclude": "string", "comment"],
"language_list": "HTML", "HTML 5", "XML", "PHP", "HTML+CFML", "ColdFusion", "ColdFusionCFC"],
"plugin_library": "User.phpkeywords",
"enabled": true
},
…but please tell me, where I should put this settings??? I can find no info about it. Settings file BracketHighlighter.sublime-settings have another formatting style.
Cant find it here too github.com/facelessuser/BracketHighlighter
No info in readme file