Sat, 04 Jul 2015 15:21:08 -0400
add method-signatures.vim
181 | 1 | --extra=+q |
2 | --exclude=*min.js | |
3 | ||
183
24804a083693
add regex to pick up foo => sub { style definitions
Meredith Howard <mhoward@roomag.org>
parents:
181
diff
changeset
|
4 | --regex-perl=/['"]?([0-9a-zA-Z_]+)['"]?\s+(,|=>)\s+sub\s+[{(]/\1/s,subroutines/ |
181 | 5 | --regex-perl=/^\s*extends\s+(['"])(.+)\1/\2/e,extends/ |
6 | --regex-perl=/^\s*with\s+(['"])(.+)\1/\2/r,role/ | |
7 | --regex-perl=/^\s*has\s+['"]?([0-9a-zA-Z_]+)/\1/a,attributes/ |