.vim/after/plugin/tabular.vim

Mon, 17 Jun 2019 18:45:19 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 17 Jun 2019 18:45:19 -0500
changeset 772
7ae185f81e1a
parent 464
452034aff788
child 942
1d3b41412cf6
permissions
-rw-r--r--

allow switching base mod key

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

mercurial