.vim/after/plugin/tabular.vim

Thu, 14 Sep 2017 19:39:46 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 14 Sep 2017 19:39:46 -0400
changeset 640
f8985ae54969
parent 464
452034aff788
child 942
1d3b41412cf6
permissions
-rw-r--r--

avoid abbreviated options

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

mercurial