Wednesday, August 28, 2013

Re: Unix vim running dos files

On 28/08/13 18:27, Philip Piper wrote:
> Is it standard behavior that vim on my debian install can not run DOS plugins that I download without me converting said plugins to unix fileformat?
>
> The screenshot is after trying open vim after install Unite through pathogen.
>

According to the help, Windows Vim can source a Unix-fileformat plugin
if 'fileformats' includes "unix" but not vice-versa. On a Unix Vim
(including Vim for Mac OS X), all lines of all plugins must end in a
linefeed with no carriage-return. The carriage return character would be
interpreted as a control-M. I suppose that lines ending in a comment
would not generate an error, but it is impractical to make sure that all
lines end in a comment: for some commands this would mean wrapping them
in an :execute followed by a bar and quote.

See the third paragraph under :help :source_crnl


Best regards,
Tony.
--
/earth: file system full.

--
--
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/groups/opt_out.

No comments: