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

Wed, 22 Feb 2023 12:42:05 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 22 Feb 2023 12:42:05 -0600
changeset 1044
8b90bfdedd2b
parent 1029
9265f8508e4c
permissions
-rw-r--r--

spin out completion.lua

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