.vim/after/plugin/tabular.vim

Sun, 05 Mar 2023 18:47:45 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 05 Mar 2023 18:47:45 -0500
changeset 1062
77bf3b44f6f9
parent 951
d37488324704
permissions
-rw-r--r--

Add format-on-write for elixir and go

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