.vim/after/plugin/tabular.vim

Sun, 11 Dec 2016 18:45:31 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 11 Dec 2016 18:45:31 -0500
changeset 445
1201037900f5
parent 425
e23906d13a57
child 464
452034aff788
permissions
-rw-r--r--

Accept just a 'hook' arg to look nicer

423
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 if exists(':Tabularize')
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 AddTabularPattern! first_eq /^[^=]*\zs=/
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 AddTabularPattern! first_arrow /^.\{-}\zs=>/
425
e23906d13a57 add method tab shortcut
Meredith Howard <mhoward@roomag.org>
parents: 423
diff changeset
4 AddTabularPattern! methods /->\|\\./l1r0
423
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 endif

mercurial