.vim/after/plugin/tabular.vim

Thu, 14 Oct 2021 12:52:45 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 14 Oct 2021 12:52:45 -0500
changeset 951
d37488324704
parent 942
1d3b41412cf6
permissions
-rw-r--r--

tweak tabular patterns

if exists(':Tabularize')
  AddTabularPattern! first_eq    /^.\{-}\zs=/
  AddTabularPattern! first_arrow /^.\{-}\zs=>/
  AddTabularPattern! first_colon /^.\{-}:\zs/l0l1
  AddTabularPattern! comma       /,\zs/l0l1
  AddTabularPattern! methods     /^.\{-}\zs\(->\|\.\)/l0
endif

mercurial