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

Mon, 17 Jul 2023 22:19:11 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 17 Jul 2023 22:19:11 -0500
changeset 1124
cb981f8aba50
parent 1029
9265f8508e4c
permissions
-rw-r--r--

neotree v3.x

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