.vim/after/plugin/tabular.vim

Wed, 25 Sep 2024 15:03:13 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 25 Sep 2024 15:03:13 -0500
changeset 1179
b0a0ba3240b5
parent 951
d37488324704
permissions
-rw-r--r--

No LSP autostart when read-only

I think nvim actually threw out 'view' argc detection, I just use -R and alias
view to it.

423
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 if exists(':Tabularize')
942
1d3b41412cf6 improve tabular patterns
Meredith Howard <mhoward@roomag.org>
parents: 464
diff changeset
2 AddTabularPattern! first_eq /^.\{-}\zs=/
423
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 AddTabularPattern! first_arrow /^.\{-}\zs=>/
951
d37488324704 tweak tabular patterns
Meredith Howard <mhoward@roomag.org>
parents: 942
diff changeset
4 AddTabularPattern! first_colon /^.\{-}:\zs/l0l1
d37488324704 tweak tabular patterns
Meredith Howard <mhoward@roomag.org>
parents: 942
diff changeset
5 AddTabularPattern! comma /,\zs/l0l1
942
1d3b41412cf6 improve tabular patterns
Meredith Howard <mhoward@roomag.org>
parents: 464
diff changeset
6 AddTabularPattern! methods /^.\{-}\zs\(->\|\.\)/l0
423
dd1863db6d31 add tabular patterns
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
7 endif

mercurial