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

139900Re: Question about markdown-syntax-recognition

Expand Messages
  • Niels Kobschaetzki
    Nov 13, 2013
    • 0 Attachment
      On Wed, Nov 13, 2013 at 12:32:08PM +0100, Paul Isambert wrote:
      >De: "Niels Kobsch├Ątzki" <niels@...>
      >> I am taking notes with markdown-syntax and often use nested unorderd
      >> lists. For example:
      >> - Test1
      >> - Test2
      >> - Test3
      >> - Test4
      >> With the first three lines the "-" gets colored correctly as an
      >> unordered list marker. But starting from Test4, so the third
      >> indentation
      >> the "-" doesn't get highlighted anymore. What can I do to change
      >> this?
      >> I took a look into the syntax file of markdown and I guess
      >> syn match markdownListMarker "\%(\t\| \{0,4\}\)[-*+]\%(\s\+\S\)\@="
      >> contained
      >> is the line that is responsible for it but I have no idea what I need
      >> to
      >> change to add a few indentations. I tried changing the 4 to a 5 but
      >> that
      >> didn't help.
      >> So, what do I have to do?
      >Change 4 to 6 :)
      >Actually you could even do
      > syn match markdownListMarker "\%(\t\| *\)[-*+]\%(\s\+\S\)\@="
      >I don't know why it is originally limited to 4 spaces (or exactly one tab);
      >this way any number of spaces is ok.

      Thanks a lot. That solved my problem :D



      You received this message from the "vim_use" 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_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 4 messages in this topic