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

Sat, 08 Apr 2023 14:07:39 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 08 Apr 2023 14:07:39 -0500
changeset 1101
40419d8e3cbb
parent 1029
9265f8508e4c
permissions
-rw-r--r--

cleanup

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