.vim/after/plugin/tabular.vim

Sun, 19 Feb 2023 22:51:18 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 19 Feb 2023 22:51:18 -0600
changeset 1038
a1321a7e0b77
parent 951
d37488324704
permissions
-rw-r--r--

ensure nvim directory eixsts

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