.vim/after/plugin/tabular.vim

Thu, 14 Sep 2017 19:38:14 -0400

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

safer use of normal

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

mercurial