.vim/after/plugin/tabular.vim

Fri, 06 May 2022 11:14:13 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 06 May 2022 11:14:13 -0500
changeset 991
a925474b9558
parent 951
d37488324704
permissions
-rw-r--r--

Handle M1 homebrew setup if present

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