.config/nvim/after/plugin/tabular.vim

Mon, 06 Mar 2023 10:42:32 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 06 Mar 2023 10:42:32 -0600
changeset 1067
08675f3a85f6
parent 1029
9265f8508e4c
permissions
-rw-r--r--

more default editor switching

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