.vim/after/plugin/tabular.vim

Thu, 01 Jun 2023 13:25:14 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 01 Jun 2023 13:25:14 -0400
changeset 1117
3689f5ec5f37
parent 951
d37488324704
permissions
-rw-r--r--

add task stub

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