Tuesday, March 29, 2011

[SOLVED] Re: set nospell for :help

Le 29-03-2011, à 10:20:12 +0200, Christian Brabandt (cblists@256bit.org) a écrit :

> On Tue, March 29, 2011 10:04 am, Steve wrote:
> > I have spell set to French by default. Works perfectly. How can I
> >
> > :set nospell
> >
> > for the online vim help?
>
> In your configuration directory (on Unix usually ~/.vim, on Windows
> usually $HOME/vimfiles), create a file called help.vim and put it in the
> ftplugin directory (create it, if it doesn't exists). In that file, you
> simply write your filetype specific settings, e.g. in your case
> :setlocal nospell

Works like a charm, thanks!

> Make sure, your .vimrc contains a :filetype plugin on statement, to
> include filetype specific scripts.
>
> Please note, that I used :setlocal instead :set that avoids setting the
> global option but only sets the buffer/window local option.

Yes, that's what I actually type(d).


Thanks Christian, I'm going back to you message regarding my other
issue.

Have a nice day,
Steve

--
You received this message from the "vim_use" 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

No comments:

Post a Comment