Created
September 26, 2014 16:14
-
-
Save paulp/485b6c11cc9c63035bd4 to your computer and use it in GitHub Desktop.
For use with https://github.com/randy3k/AlignTab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"named_patterns" : { | |
"first_equal" : " = (?:.*?[^{]$)/f", | |
"first_comma" : ", /f", | |
"first_colon" : ": /f", | |
"all_space" : "\\s+/l1l0", | |
"hocon" : ": (?:.*?[^{]$)/r1l1l1f", | |
"typed" : "[:]/r0c1l1f", | |
"bash_var" : "[$][(]|[|][|]|[)]|[#]", | |
"sbt_operator" : "[&|@#<+:~]+[=][ ]/r1c1l1", | |
"quoted_string" : "[\"](?:[^\"\\\\]|\\\\.)*[\"]", | |
"first_arrow" : "(?<!:) [-=][>] /l1c1l1f", | |
"sbt_module" : "(?: = | %+ )/lrllclclclcl", | |
"align_generic" : "(?: [-=]>(?: |$)| [:+]{1,}= )/l1rf", | |
"align_esac" : "(?:[)]|[;][;])/r0c1l1", | |
"json" : ":(?!.*[{])/r1c1l1f1", | |
"bang" : "[!]/r1c1l1f1", | |
"one_line_method" : "[ ][=][ ](?:.*?[^{]$)/l1f", | |
"one_line_class" : " extends |[ ][=][ ]| [{] | [}]$" | |
}, | |
// disable auto_match in the input panel | |
"auto_match_enabled": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment