.vim/after/plugin/tabular.vim

Thu, 14 Sep 2017 19:48:58 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 14 Sep 2017 19:48:58 -0400
changeset 641
60b56bbfc143
parent 464
452034aff788
child 942
1d3b41412cf6
permissions
-rw-r--r--

use strict regex ops

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

mercurial