.vim/after/plugin/tabular.vim

Wed, 22 Sep 2021 16:34:57 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 22 Sep 2021 16:34:57 -0400
changeset 946
20c0492da189
parent 942
1d3b41412cf6
child 951
d37488324704
permissions
-rw-r--r--

Add sick "run anywhere ignoring bundler" hacks

423
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 if exists(':Tabularize')
942
1d3b41412cf6 improve tabular patterns
Meredith Howard <mhoward@roomag.org>
parents: 464
diff changeset
2 AddTabularPattern! first_eq /^.\{-}\zs=/
423
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 AddTabularPattern! first_arrow /^.\{-}\zs=>/
464
452034aff788 add first colon shortcut
Meredith Howard <mhoward@roomag.org>
parents: 425
diff changeset
4 AddTabularPattern! first_colon /^.\{-}:\zs/
942
1d3b41412cf6 improve tabular patterns
Meredith Howard <mhoward@roomag.org>
parents: 464
diff changeset
5 AddTabularPattern! methods /^.\{-}\zs\(->\|\.\)/l0
423
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 endif

mercurial