One9398 / vimwiki

Automatically exported from code.google.com/p/vimwiki
0 stars 1 forks source link

Spellcheck not working for .wiki files #398

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Spellcheck is not working for files with filetype vimwiki.
Mistyped words are not detected (or highlighted).

Steps to repoduce:
.vimrc: {{{
set spell
setlocal spell spelllang=en
}}}

vim test.txt # check that spellcheck is working
vim test.wiki # spelling is not working

vim 7.3
vimwiki 2.0.1 'stu'

Original issue reported on code.google.com by landlord...@gmail.com on 25 Jan 2013 at 9:07

GoogleCodeExporter commented 8 years ago
Forgot to add that the OS is debian 64bit.

Original comment by landlord...@gmail.com on 25 Jan 2013 at 9:09

GoogleCodeExporter commented 8 years ago
I managed to fix it - "syntax spell toplevel" had to be moved further down the 
syntax/vimwiki.vim file.

I've attached a patch.

Original comment by landlord...@gmail.com on 3 Feb 2013 at 8:38

GoogleCodeExporter commented 8 years ago
the fix

Original comment by landlord...@gmail.com on 3 Feb 2013 at 8:40

Attachments:

GoogleCodeExporter commented 8 years ago
Great. Thank you!   I will do some independent testing before merging ...

Original comment by stu.andrews on 5 Feb 2013 at 4:37

GoogleCodeExporter commented 8 years ago
I can not reproduce it. For me spellcheck works with or without your patch for 
.wiki files.

Original comment by habamax on 23 Feb 2013 at 3:06

GoogleCodeExporter commented 8 years ago
Anyway your patch works for me and I couldn't find any problems with it.

Original comment by habamax on 26 Feb 2013 at 3:43