On 21-Sep-2013 05:38 +0200, David Woodfall wrote: > I've noticed that the default spellcheckcap setting marks words as bad > after an ellipsis if they are not capitalised. > > In fiction writing at least it is common to have an ellipsis and a > non-capitalised next word. > > This is the setting that I'm currently using to fix this: > > set spellcapcheck="[.?!]\_[\])'"' \t...]\+") > > Might I suggest that this is used for the default? There may be better > ways of doing it but my regexp is not strong. >
Apart from the syntax errors, that expression doesn't work. You're just including the "." character thrice in the [] collection. Rather, something like the following is needed: :let &spellcapcheck='\%(\.\@<!\.\|[?!]\)\_[\])''"^I ]\+' However, this doesn't work for me (Vim 7.3.823). I still get the SpellCap highlighting on following words, even though there are no matches after a "foo... bar" when I do :let @/ = &spc -- regards, ingo -- -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
