.vim/after/plugin/tabular.vim

Mon, 23 Aug 2021 16:28:04 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 23 Aug 2021 16:28:04 -0400
changeset 942
1d3b41412cf6
parent 464
452034aff788
child 951
d37488324704
permissions
-rw-r--r--

improve tabular patterns

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

mercurial