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

Wed, 22 Feb 2023 12:40:24 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 22 Feb 2023 12:40:24 -0600
changeset 1041
99ab96c49f65
parent 1029
9265f8508e4c
permissions
-rw-r--r--

add goneovim settings

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