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

Fri, 29 Dec 2023 03:02:51 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 29 Dec 2023 03:02:51 -0600
changeset 1139
1359a563b5ce
parent 1029
9265f8508e4c
permissions
-rw-r--r--

split out LuaSnip spec

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