vim

saving file via netrw sets "syntax=netrw"

Bug #506139 reported by skyjumper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vim
New
Undecided
Unassigned
vim (Ubuntu)
Confirmed
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)
Changed in vim (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.