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

87021Re: vim7 xml/docbook spellcheck : comments only ?

Expand Messages
  • A.Politz
    Feb 1, 2008
    • 0 Attachment
      haron wrote:

      >Hi All,
      >
      >Using ":setlocal spell spellang=en_US" (as advised from :help spell-
      >quickstart) I get with following example docbook:
      >...
      > <!-- <para> (A)sistem is wrong, system is right <para> -->
      > <para> (B)sistem is wrong, system is right <para>
      >...
      >(A) highlighted as spelling error, but not (B).
      >
      >Settings are:
      >:set filetype syntax
      > filetype=xml
      > syntax=docbk
      >
      >I have tried with ":set filetype=text", (after that syntax is set to
      >"syntax=text" automatically), but in this case I obviously loose
      >syntax highlighting and closing tag matching for DocBook / XML.
      >
      >Anybody knows how to keep docbk + xml syntax features enabled, still
      >having (A) and (B) recognized as spell errors ?
      >
      >
      Try
      :syn spell toplevel
      :redraw

      -ap



      --
      Ich hab geträumt, der Krieg wär vorbei.


      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Show all 3 messages in this topic