tweak tabular patterns

Thu, 14 Oct 2021 12:52:45 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 14 Oct 2021 12:52:45 -0500
changeset 951
d37488324704
parent 950
7980dce66a7a
child 952
0d98622cf4d6

tweak tabular patterns

.vim/after/plugin/tabular.vim file | annotate | diff | comparison | revisions
--- a/.vim/after/plugin/tabular.vim
+++ b/.vim/after/plugin/tabular.vim
@@ -1,6 +1,7 @@
 if exists(':Tabularize')
   AddTabularPattern! first_eq    /^.\{-}\zs=/
   AddTabularPattern! first_arrow /^.\{-}\zs=>/
-  AddTabularPattern! first_colon /^.\{-}:\zs/
+  AddTabularPattern! first_colon /^.\{-}:\zs/l0l1
+  AddTabularPattern! comma       /,\zs/l0l1
   AddTabularPattern! methods     /^.\{-}\zs\(->\|\.\)/l0
 endif

mercurial