.vim/after/plugin/tabular.vim

Wed, 23 Aug 2017 01:18:37 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 23 Aug 2017 01:18:37 -0400
changeset 632
9a87ce42aa3c
parent 464
452034aff788
child 942
1d3b41412cf6
permissions
-rw-r--r--

getcmdpos is cursor position in expr mode here, wont work

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

mercurial