On 11/08/11 18:42, Sung Pae wrote:
Hello,

I was wondering if there was any feedback on the patch supplied
regarding `formatprg`:

http://groups.google.com/group/vim_dev/browse_thread/thread/7052b5523b2dc809

Is there something I could do to improve the patch, or are there
implications to this change that I have not considered?

Cheers,
Sung Pae


Even with a global 'formatprg', you can use buffer-local 'formatexpr' (which overrides it). 'formatexpr' can do whatever it wants with, for instance, values of Vim options, and, if necessary, call system() or a !filter with any arguments it wants to. IOW I'm not convinced that the change is necessary.


Best regards,
Tony.
--
A limerick packs laughs anatomical
Into space that is quite economical.
        But the good ones I've seen
        So seldom are clean,
And the clean ones so seldom are comical.

--
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui