.vim/after/plugin/tabular.vim

Mon, 20 Sep 2021 15:09:24 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 20 Sep 2021 15:09:24 -0500
changeset 944
e67ad83a4265
parent 942
1d3b41412cf6
child 951
d37488324704
permissions
-rw-r--r--

Add vim-textobj-comment

if exists(':Tabularize')
  AddTabularPattern! first_eq    /^.\{-}\zs=/
  AddTabularPattern! first_arrow /^.\{-}\zs=>/
  AddTabularPattern! first_colon /^.\{-}:\zs/
  AddTabularPattern! methods     /^.\{-}\zs\(->\|\.\)/l0
endif

mercurial