Loading ...
Sorry, an error occurred while loading the content.

43038Re: [vim] syntax-files and spellchecking

Expand Messages
  • Bram Moolenaar
    Sep 3, 2003
    • 0 Attachment
      Luc Hermitte wrote:

      > * On Tue, Sep 02, 2003 at 06:07:26PM +0200, Bram Moolenaar <Bram@...> wrote:
      > > > He [Claudio] seems to have written all the syntax files he maintains
      > > > with spellchecking considerations in mind. Thus, when a syntax item
      > > > may contain text that is "misspellable", he defines that syntax item
      > > > with "contains=@Spell". Check $VIMRUNTIME/syntax.java.vim for
      > > > instance.
      > >
      > > I have added @Spell to the cComment groups. Check out the version at:
      > > ftp://ftp.vim.org/pub/vim/runtime/syntax/c.vim
      > > Does this work?
      >
      > Perfectly (almost) ! Thank you for your quick response!
      >
      > (almost ->) It could be also interresting to add the @Spell cluster to
      > cString and cCppString. Adding ",@Spell" to the 4 lines that define
      > those two items seems to do the work for C and C++.

      Spell checking strings? Hmm, I suppose it could be useful, although you
      might get quite a few non-errors there.

      --
      Not too long ago, cut and paste was done with scissors and glue...

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
    • Show all 11 messages in this topic