saving file via netrw sets "syntax=netrw"

Bug #506139 reported by skyjumper on 2010-01-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vim
New
Undecided
Unassigned
vim (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: vim

Since upgrading to Ubuntu Karmic, saving a file via netrw causes vim to set "syntax=netrw". The problem didn't occur in Jaunty.

To reproduce:
- Open a file via netrw, for example: vim scp://yourusername@localhost:/home/yourusername/filethatexists.php
- Save the file, the syntax highlighting should be gone
- Type :set syntax?

If you edited a php script, you would expect it to say "syntax=php", but instead it shows "syntax=netrw"

Angel Abad (angelabad) on 2010-01-12
Changed in vim (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers