.vim/after/plugin/tabular.vim

Mon, 16 Sep 2019 21:36:29 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 16 Sep 2019 21:36:29 -0400
changeset 788
f8da8d4ff16a
parent 464
452034aff788
child 942
1d3b41412cf6
permissions
-rw-r--r--

use shfmt if available

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

mercurial