.vim/after/plugin/tabular.vim

Fri, 20 Aug 2021 01:45:40 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 20 Aug 2021 01:45:40 -0400
changeset 937
0b22685bc75c
parent 464
452034aff788
child 942
1d3b41412cf6
permissions
-rw-r--r--

Disable weird stuff from polyglot, but keep a few

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

mercurial