.vim/after/plugin/tabular.vim

Mon, 09 Oct 2023 18:25:32 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 09 Oct 2023 18:25:32 -0500
changeset 1130
91a00bcc28f9
parent 951
d37488324704
permissions
-rw-r--r--

Update for indent-blankline 3.x

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