.vim/after/plugin/tabular.vim

Wed, 16 Nov 2022 03:56:18 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 16 Nov 2022 03:56:18 -0500
changeset 1004
30b285e424e7
parent 951
d37488324704
permissions
-rw-r--r--

add vim-fetch

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