Hello!
I started this thread on vim_dev[1] and it was suggested I continue here instead.
> I fail to understand, why this is a problem, but you should be able to work around that using the writefile() function, which seems to be better suited for such a case.
Over the course of a day that VimL runs hundreds or thousands of times, and when I only work on a dozen files it seems...inefficient that the buffer number is up in the hundreds or higher. It doesn't break anything but it's an unwanted side-effect.
I looked at writefile() and confess I was confused by its documentation. How does one call it so that the buffer's contents are written exactly as-is, i.e. without changing line endings or adding/removing a final line ending?
Many thanks,
Andy
[1] https://groups.google.com/forum/#!topic/vim_dev/oDyCq5Al7FY
--
--
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.
No comments:
Post a Comment