.vim/after/plugin/tabular.vim

Sat, 08 Apr 2023 18:06:43 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 08 Apr 2023 18:06:43 -0400
changeset 1104
90aa391abc44
parent 951
d37488324704
permissions
-rw-r--r--

include needs to appear before a host match (sections actually ignore indents)

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

mercurial