.vim/after/plugin/tabular.vim

Wed, 24 Nov 2021 14:22:41 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 24 Nov 2021 14:22:41 -0600
changeset 956
61c91bec34c8
parent 951
d37488324704
permissions
-rw-r--r--

improve this first-time 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