Alignement fails when digraph character used as pattern
marcastel opened this issue · 0 comments
marcastel commented
Vim-align-easy and Vim digraphs (he digraph
) apparently don't cohabitate well together. Any idea how to fix this?
Admit you want to align the following on the →
character which is a digraph obtained in Vim by typing - BS >.
https://github.com/jesseduffield/lazygit (Go) → build OK
https://github.com/tstack/lnav (C++) → build OK
You would normally type g a i p - BS >. I presume that the backspace key gets intercepted too early and consequently an error is raised:
:EasyAlign (_) (Unknown delimiter key: >)
Happy to hear if I did something wrong or if there is a workaround :-)