From df9f67e10d214e0124f2141f59593529801307a4 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Tue, 30 Jul 2024 20:19:15 +0200 Subject: [PATCH] runtime(html): update syntax script to sync by 250 minlines by default closes: #14071 Signed-off-by: Christian Brabandt --- runtime/doc/syntax.txt | 6 +++++- runtime/syntax/html.vim | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 2f8d9505c4..9449b75774 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 9.1. Last change: 2024 Jul 25 +*syntax.txt* For Vim version 9.1. Last change: 2024 Jul 30 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1908,6 +1908,10 @@ You can also disable this rendering by adding the following line to your vimrc file: > :let html_no_rendering=1 +By default Vim synchronises the syntax to 250 lines before the first displayed +line. This can be configured using: > + :let html_minlines = 500 +< HTML comments are rather special (see an HTML reference document for the details), and the syntax coloring scheme will highlight all errors. However, if you prefer to use the wrong style (starts with