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

Sun, 25 Jun 2023 22:53:55 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 25 Jun 2023 22:53:55 -0500
changeset 1120
8f8a93daa98c
parent 1029
9265f8508e4c
permissions
-rw-r--r--

Move fidget.nvim to "legacy" branch

1029
9265f8508e4c Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 if exists(':Tabularize')
9265f8508e4c Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 AddTabularPattern! first_eq /^.\{-}\zs=/
9265f8508e4c Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 AddTabularPattern! first_arrow /^.\{-}\zs=>/
9265f8508e4c Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 AddTabularPattern! first_colon /^.\{-}:\zs/l0l1
9265f8508e4c Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 AddTabularPattern! comma /,\zs/l0l1
9265f8508e4c Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6 AddTabularPattern! methods /^.\{-}\zs\(->\|\.\)/l0
9265f8508e4c Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 endif

mercurial