Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 62 by [email protected]: Netrw v145: '/' character in 'is keyword' leaks into new buffers
http://code.google.com/p/vim/issues/detail?id=62

What steps will reproduce the problem?

1. Edit a file in Vim over FTP using Netrw.
2. Subsequently created buffers have the '/' character as part of the 'is keyword' string, This messes with syntax highlighting and indentation of various files (e.g. HTML, XML etc.).

What is the expected output? What do you see instead?

The global value of 'is keyword' should *not* be updated.

What version of the product are you using? On what operating system?

Netrw v145

Please provide any additional information below.

I attach a patch which fixes the issue for me. It would appear that some file detection code added in v145 modifies the global value of 'iso' instead of the local value. The patch also corrects a missing ')' in the netrw#NetRead function and removes an extraneous 'endif'.

Attachments:
        netrw_145.patch  1.6 KB

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