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

Thu, 16 Mar 2023 12:30:54 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 16 Mar 2023 12:30:54 -0500
changeset 1089
81b964cde5b9
parent 1029
9265f8508e4c
permissions
-rw-r--r--

Cleaner conflict resolution

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