chore(vim): Add Tabular plugin and custom alignment groups

This commit is contained in:
Stefan Imhoff
2021-12-11 13:44:31 +01:00
parent 4c0d2b54c6
commit 14d64e0dc2
3 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
" Custom Tabular Commands
AddTabularPattern! equals /^[^=]*\zs=/
AddTabularPattern! ruby_hash /^[^=>]*\zs=>/
AddTabularPattern! commas /,\s*\zs\s/l0
AddTabularPattern! colons /^[^:]*:\s*\zs\s/l0