Wednesday, September 7, 2011

Re: HTML syntax & netrw

On Sep 7, 11:30 am, Taylor Hedberg <tmhedb...@gmail.com> wrote:
> Ben Fritz, Wed 2011-09-07 @ 08:50:43-0700:
>
> > Are you sure this is the only difference? stuff in $VIMRUNTIME/plugin
> > is normally sourced automatically whenever you load Vim, regardless of
> > what you do in Vim, unless you've turned plugins off from a command-
> > line option or the 'noloadplugins' option.
>
> Yes, I manually checked each item in the list in both cases.
> netrwPlugin.vim is present if I start vim as `vimhttp://tmh.cc/vimtest.html`and is not present if I use `vim
> vimtest.html` (with a local copy). That's the only difference.
>

That's really weird, I can not explain this.

> > How about trying editing the local file with netrw? I would expect it
> > to misbehave in the same way if netrw is the culprit.
>
> I opened the local file using the "file:" URI scheme (I assume this is
> what you mean by editing locally with netrw), and interestingly, the
> syntax seemed correct. I'm not sure what this means. But the problem
> definitely occurs if I use "http:" or "scp:" to access a remote file. I
> don't have an FTP daemon running on the remote host so I can't try that
> protocol (or others) without considerable effort

Actually, what I meant was, netrw is invoked for local filesystem
browsing if you :edit a directory instead of a file.
.
But it looks like there is a bona fide bug in netrw. I'm glad it was
found so quickly!

--
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

No comments: