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

Thu, 12 Oct 2023 21:32:02 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 12 Oct 2023 21:32:02 -0400
changeset 1132
532c7964b23f
parent 1029
9265f8508e4c
permissions
-rw-r--r--

Fix event key typo

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