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

Thu, 11 Apr 2024 21:48:30 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 11 Apr 2024 21:48:30 -0500
changeset 1147
23f9b157fe8a
parent 1029
9265f8508e4c
permissions
-rw-r--r--

Load indentscope even on new nameless bufs

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