.vim/after/plugin/tabular.vim

Fri, 30 Dec 2016 13:23:17 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 30 Dec 2016 13:23:17 -0500
changeset 464
452034aff788
parent 425
e23906d13a57
child 942
1d3b41412cf6
permissions
-rw-r--r--

add first colon shortcut

if exists(':Tabularize')
  AddTabularPattern! first_eq    /^[^=]*\zs=/
  AddTabularPattern! first_arrow /^.\{-}\zs=>/
  AddTabularPattern! first_colon /^.\{-}:\zs/
  AddTabularPattern! methods     /->\|\\./l1r0
endif

mercurial