Hi!
What's the best way to create a function that creates functions?
I currently construct a string with the vim code, put that into a register, and then evaluate the register. See https://github.com/tomtom/tcomment_vim/blob/master/plugin/tcomment.vim#L165 for an example.
This works well but seems to cause serious problems in certain situations with certain installations. See here for an example report: https://github.com/tomtom/tcomment_vim/issues/140
Is this a known issue with certain versions of gvim?
Is there an alternative way to achieve this that doesn't cause the problem reported above?
Regards,
Tom
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sunday, April 26, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment