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

Mon, 26 Jun 2023 14:12:46 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 26 Jun 2023 14:12:46 -0500
changeset 1123
b7a3f68c02b2
parent 1029
9265f8508e4c
permissions
-rw-r--r--

Drop cmp-omni. Never resolved the double-display

But don't really have omnifunc use cases anymore

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