.vim/after/plugin/tabular.vim

Mon, 07 Feb 2022 23:45:51 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 07 Feb 2022 23:45:51 -0600
changeset 978
39659c5ed5b0
parent 951
d37488324704
permissions
-rw-r--r--

include gvimrc

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