.vim/after/plugin/tabular.vim

Fri, 28 Jan 2022 14:41:33 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 28 Jan 2022 14:41:33 -0600
changeset 974
be3938b95ee6
parent 951
d37488324704
permissions
-rw-r--r--

prefer solargraph over typeprof

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