Thu, 14 Oct 2021 12:52:45 -0500
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