aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/syntax.txt
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-07-30 21:41:08 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-07-31 00:18:32 +0200
commit1dd2bf926d14297e979509dbb731825a32f649b9 (patch)
tree0fb0d2797ad1ee886110bb5225fb0e9a09b85ebb /runtime/doc/syntax.txt
parentd1bd3d643e5846eee7343ba1a12bdcbbc8cee7b0 (diff)
downloadrneovim-1dd2bf926d14297e979509dbb731825a32f649b9.tar.gz
rneovim-1dd2bf926d14297e979509dbb731825a32f649b9.tar.bz2
rneovim-1dd2bf926d14297e979509dbb731825a32f649b9.zip
vim-patch:df9f67e: runtime(html): update syntax script to sync by 250 minlines by default
closes: vim/vim#14071 https://github.com/vim/vim/commit/df9f67e10d214e0124f2141f59593529801307a4 Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r--runtime/doc/syntax.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 2a008cb50e..893217d8ea 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1436,6 +1436,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 <!-- and