.vim/after/plugin/tabular.vim

Sun, 25 Apr 2021 00:57:55 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 25 Apr 2021 00:57:55 -0500
changeset 899
2315aad34ca3
parent 464
452034aff788
child 942
1d3b41412cf6
permissions
-rw-r--r--

ok this format-on-write is more reliable

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

mercurial