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

43040Re: [vim] syntax-files and spellchecking

Expand Messages
  • Luc Hermitte
    Sep 3, 2003
    • 0 Attachment
      * On Wed, Sep 03, 2003 at 12:06:08PM +0200, Bram Moolenaar <Bram@...> wrote:
      > Spell checking strings? Hmm, I suppose it could be useful, although
      > you might get quite a few non-errors there.

      That's true.

      However, it could be managed from the spellchecker: I can provide an
      option to decide whether the spellchecking is done on strings or not
      [1].
      In the case the option is set to "spellcheck-strings", I need to
      highlight the misspellings within the strings.

      Otherwise, a more complex solution would be to provide two clusters:
      @Spell and @SpellString for instance.

      If the non-error is "%s", it is easy (in my plugin at least) to add it
      to the list of ignored words -- just press <i>.
      But I guess you are refering to things like little abreviations
      programmers like to use (or things like that) since "%s" a cFormat.

      I don't know what others think on this issue.

      [1] I run a big, complex and automatically generated regex to extract only
      the things that can be mispelled (strings and comments).
      --
      Luc Hermitte
      http://hermitte.free.fr/vim/
    • Show all 11 messages in this topic