Monday, October 1, 2018

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

On Mon, Oct 1, 2018 at 11:40 AM meine <trialero@gmx.com> wrote:
>
> Hi,
>
> 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;
>
> &euml; 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!
>
> TIA
>
> //meine

See
:help :syn-sync
:help 'synmaxcol'
and if that doesn't help, please describe your problem in more detail.

Best regards,
Tony.

--
--
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: