.vim/after/plugin/tabular.vim

Fri, 04 Feb 2022 20:25:32 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 04 Feb 2022 20:25:32 -0600
changeset 976
1092ac0393ec
parent 951
d37488324704
permissions
-rw-r--r--

PlugUpgrade

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