.vim/after/plugin/tabular.vim

Sat, 21 Jan 2017 23:30:10 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 21 Jan 2017 23:30:10 -0500
changeset 485
a58682115510
parent 464
452034aff788
child 942
1d3b41412cf6
permissions
-rw-r--r--

print usage on no args too

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

mercurial