.vim/after/plugin/tabular.vim

Sun, 02 Jan 2022 03:21:02 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 02 Jan 2022 03:21:02 -0600
changeset 963
3f9185b6a5e3
parent 951
d37488324704
permissions
-rw-r--r--

block some autocmds in diff mode

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