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

Thu, 09 Mar 2023 00:15:10 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 09 Mar 2023 00:15:10 -0600
changeset 1071
e76020af023d
parent 1029
9265f8508e4c
permissions
-rw-r--r--

add explicit begin-completion bind

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