On Sun, 28 May 2006, Geoffrey Alan Washburn wrote:
Gerald Lai wrote:
Since 'spellfile' cannot be set from a modeline for security reasons,
you can try placing something like this in your vimrc:
autocmd BufWinEnter *
\ if expand("%:t") == "myfile1.txt" |
\ set spellfile=myspell1.latin
You could store the associations in a global dict variable, and use it
in the BufWinEnter. You could then store the dict var in your .vimrc,
a separate file, or let viminfo handle it.
On 5/28/06, Geoffrey Alan Washburn <[EMAIL PROTECTED]> wrote:
Gerald Lai wrote:
> Since 'spellfile' cannot be
Gerald Lai wrote:
Since 'spellfile' cannot be set from a modeline for security reasons,
you can try placing something like this in your vimrc:
autocmd BufWinEnter *
\ if expand("%:t") == "myfile1.txt" |
\ set spellfile=myspell1.latin1.add |
\ elseif expand("%:t") == "myfile2.txt" |
On Sun, 28 May 2006, Geoffrey Alan Washburn wrote:
I looked through the help files and examined the archives but didn't see
anything that sounded like this. Essentially, I was interested in knowing
whether there was any way to set per document dictionary modifications? In
the papers I write
I looked through the help files and examined the archives but didn't see
anything that sounded like this. Essentially, I was interested in
knowing whether there was any way to set per document dictionary
modifications? In the papers I write there are words/keywords that are
very specific to t