Hello again,
I realized that vim doesn't allow function callbacks starting with lowercase letter in the global (g:) scope a while ago. I realized this while I was trying to use custom menu printing callbacks.
Just a few solutions coming into my mind:
- Renaming all global callback settings for them to start with uppercase letter. This is ugly in my opinion.
- Removing all global settings and instead taking configuration dictionaries wherever necessary. I would prefer this.
- Moving all configurations under
venu# namespace. I'm not sure if this requires still starting with uppercase letter though. It shouldn't, as there are already functions starting with lowercase in venu# namespace.
I've been planning for reporting this and discussing possible solutions, but I couldn't find a chance. Instead, I applied some quick patches to my forked branch (following second option). It works for me for now but it has diverged from main repo and I don't want to maintain a fork in the long term.
So, I decided not to delay reporting this even if I don't have time to discuss/apply fixes. Although I'd still prefer second option, any other solution would probably work for me. I'd appreciate if you could address this issue whenever you have some time. Thanks!
Hello again,
I realized that vim doesn't allow function callbacks starting with lowercase letter in the global (
g:) scope a while ago. I realized this while I was trying to use custom menu printing callbacks.Just a few solutions coming into my mind:
venu#namespace.I'm not sure if this requires still starting with uppercase letter though. It shouldn't, as there are already functions starting with lowercase invenu#namespace.I've been planning for reporting this and discussing possible solutions, but I couldn't find a chance. Instead, I applied some quick patches to my forked branch (following second option). It works for me for now but it has diverged from main repo and I don't want to maintain a fork in the long term.
So, I decided not to delay reporting this even if I don't have time to discuss/apply fixes. Although I'd still prefer second option, any other solution would probably work for me. I'd appreciate if you could address this issue whenever you have some time. Thanks!