On Sat, November 21, 2009 12:10 am, Shelly Adhikari wrote: > Is there any option in vim spell checker to ignore words containing > underscore, multiple uppercase letters, minus, numbers. I could not find > anything in the manuals (7.2) or google search.
Not sure. What the spell-engine considers a word is defined by the iskeyword option (see :h 'isk'). You might be able to tweak its value and get the result you want, but unfortunately this also influences other areas (word motion 'w', e.g.). Alternatively you might be able to work around it by defining a syntax rule, something like this: :syn match String /\w\+_\w\+/ contai...@nospell (which should prevent spell checking in words containing an underscore). Hope this helps a little. regards, Christian -- :wq --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
