mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-09 10:23:48 -05:00
Add :syn sync linebreaks=1 to improve consistency
This was reported to fix a folding issue I can't reproduce, and also fixes some inconsistencies such as an underline style heading failing to highlight until a redraw. Resolves: https://github.com/tpope/vim-markdown/issues/179
This commit is contained in:
@@ -51,6 +51,7 @@ if !exists('g:markdown_minlines')
|
|||||||
let g:markdown_minlines = 50
|
let g:markdown_minlines = 50
|
||||||
endif
|
endif
|
||||||
execute 'syn sync minlines=' . g:markdown_minlines
|
execute 'syn sync minlines=' . g:markdown_minlines
|
||||||
|
syn sync linebreaks=1
|
||||||
syn case ignore
|
syn case ignore
|
||||||
|
|
||||||
syn match markdownValid '[<>]\c[a-z/$!]\@!' transparent contains=NONE
|
syn match markdownValid '[<>]\c[a-z/$!]\@!' transparent contains=NONE
|
||||||
|
|||||||
Reference in New Issue
Block a user