.vim/after/plugin/tabular.vim

Fri, 15 Nov 2019 21:50:50 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 15 Nov 2019 21:50:50 -0500
changeset 820
9363e3a29dba
parent 464
452034aff788
child 942
1d3b41412cf6
permissions
-rw-r--r--

this is simpler

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

mercurial