.config/nvim/after/plugin/tabular.vim

Thu, 10 Aug 2023 02:23:07 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 10 Aug 2023 02:23:07 -0500
changeset 1125
58490a30d6fb
parent 1029
9265f8508e4c
permissions
-rw-r--r--

Stop misusing equalprg

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