Monday, October 1, 2018

Re: syntax highlighting stops somewhere in a file -- why?

> I use vim a lot with regular markdown --
> see: daringfireball.net/projects/markdown
>
> in several files syntax coloring suddenly stops, and I can't find why.
> this happens with files while typing, as well as in files while editing
> afterwards.
>
> for example some markdown pieces of text:
>
> [text](http://link.to/highlight_text) which makes the text clickable
> in a PDF after converting the markdown file. the word between [] is in a
> different color;
>
> ë HTML codes used in markdown to provide accents etc, used a lot in
> Dutch language. the code is in a different color.
>
> my vimrc has two lines activating syntax coloring:
>
> syntax on
> syntax enable
>
> because at least in the beginning of each file markdown syntax coloring
> works fine, my 'evening' colorscheme can't be the problem.
>
> I hope anyone can give me a clue to make syntax coloring work for the
> entire file!

Have you tried changing the value for 'redrawtime'? The syntax
highlighting may just be too slow.

--
hundred-and-one symptoms of being an internet addict:
126. You brag to all of your friends about your date Saturday night...but
you don't tell them it was only in a chat room.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
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@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment