.vim/after/plugin/tabular.vim

Fri, 06 May 2022 22:03:51 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 06 May 2022 22:03:51 -0500
changeset 992
4e3e37ce84bc
parent 951
d37488324704
permissions
-rw-r--r--

Switch stubexec to self-invoke

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