Monday, October 1, 2018

syntax highlighting stops somewhere in a file -- why?

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;

ë 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

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