.vim/after/plugin/tabular.vim

Fri, 05 May 2023 13:12:54 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 05 May 2023 13:12:54 -0500
changeset 1110
e4edb1419e3f
parent 951
d37488324704
permissions
-rw-r--r--

factor out bina install

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