.vim/after/plugin/tabular.vim

Mon, 21 Feb 2022 21:00:21 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 21 Feb 2022 21:00:21 -0600
changeset 981
c6daeefb30bf
parent 951
d37488324704
permissions
-rw-r--r--

Fix terminal breakage with lsp

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