Bug#600688: [patch] Retain langp when re-using buffer
Bram Moolenaar
Bram at Moolenaar.net
Mon Oct 25 18:40:00 UTC 2010
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 highlighted as spelling
> mistakes although they are if you give the file on the command line
> instead.
>
> The attached patch looks like the right fix.
Thanks. I'll check it out soon.
- Bram
--
There are 2 kinds of people in my world: those who know Unix, Perl, Vim, GNU,
Linux, etc, and those who know COBOL. It gets very difficult for me at
parties, not knowing which group to socialise with :-)
Sitaram Chamarty
/// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
More information about the pkg-vim-maintainers
mailing list