On Wed, Apr 29, 2009 at 07:37:38AM -0700, Xin Dong wrote: > > Hi all, > > Recently I use vim to write my octave scripts. I found a problem of > spell checking. Because I set spell check on default, so vim finds > every keyword of octave has spell error. I can turn the function off > but I also observed that in C language source file, vim doesn't check > spell errors except comments. I want to set the same thing in octave > scripts but I don't know how to do it. Can any one give me some ideas? >
:help spell-syntax You can modify the syntax file for octave to make appropriate use of the contai...@spell and contai...@nospell syntax clusters. Take a look at the syntax file for C to get an idea of how this is done. Be sure to post your fixed octave.vim file so the community can benefit! -- Erik Falor Registered Linux User #445632 http://counter.li.org --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
