Bug#600688: [patch] Retain langp when re-using buffer

2010-10-25 Thread Bram Moolenaar
James - > Patch 7.2.034 introduced a bug which causes spell highlighting not to > work when an empty buffer gets re-used when a file is loaded. A simple > test case is: > > $ vim -u NONE -N -c 'syn on' -c 'set spell' > :e src/os_win32.c > > As you can see, none of the unknown words are hig

Bug#600688: [patch] Retain langp when re-using buffer

2010-10-24 Thread James Vega
Bram, Patch 7.2.034 introduced a bug which causes spell highlighting not to work when an empty buffer gets re-used when a file is loaded. A simple test case is: $ vim -u NONE -N -c 'syn on' -c 'set spell' :e src/os_win32.c As you can see, none of the unknown words are highlighted as spellin