Am Freitag, 4. April 2014 16:50:37 UTC+2 schrieb Bram Moolenaar: > Enno Nagel wrote: > > > > > Le vendredi 28 mars 2014 23:31:51 UTC+1, Enno a écrit : > > > > When restoring a session with spelllang=de, encoding = utf-8 and a > > > nonempty german spellfile de.utf-8.add , the de.utf-8.spl is not read. > > > > > > > > This problem does not occur when > > > > > > > > - set spell spelllang=de is invoked manually, > > > > - for other languages. Tested for English and Portuguese. > > > > > > This might be caused by vim automatically storing the user dictionary in > > this format: > > > > > > setlocal spellfile=~\\.vim\\spell\\de.utf-8.add > > > > > > Even if the explicit path to the home dir is given. > > > > So can you remove the problem by editing that line? I would be > > surprised, unless you change your home directory, which is unexpected. > > > > > I add that I have to set the spellfile explicitely, because I use > > > Vundle, which otherwise would place it in the vundle folder. > > > > > > It works without a problem if not restoring sessions though. > > > > What if you manually edit a session file, can you fix the problem? > > > > -- > > In many of the more relaxed civilizations on the Outer Eastern Rim of the > > Galaxy, "The Hitchhiker's Guide to the Galaxy" has already supplanted the > > great "Encyclopedia Galactica" as the standard repository of all knowledge > > and wisdom, for though it has many omissions and contains much that is > > apocryphal, or at least wildly inaccurate, it scores over the older, more > > pedestrian work in two important respects. > > First, it is slightly cheaper; and second, it has the words "DON'T PANIC" > > inscribed in large friendly letters on its cover. > > -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy" > > > > /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ > > /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ > > \\\ an exciting new programming language -- http://www.Zimbu.org /// > > \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
@Bram: I cannot fix the problem by hardcoding the path. The path is automatically encoded to set spellfile+=~/.vim/spell/de.utf-8.add , even if set explicitely in the makeview file, as checked by Set Spellfile. The problem occurs only as soons as I change Spelllang by a Loadview command. Otherwise it works fine. @Christian: The path is correct but has to be explicitely set by the user if Vundle is used. Vundle sets Spellfile to the .vim/bundle/vundle folder. It would be good if one could set a spellfile dictionary in vim. This Vundle issue https://github.com/gmarik/Vundle.vim/issues/127 describes the issue. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.