aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax
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/syntax
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/syntax')
-rw-r--r--runtime/syntax/html.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/syntax/html.vim b/runtime/syntax/html.vim
index d067dde83c..ca7c7f1cdd 100644
--- a/runtime/syntax/html.vim
+++ b/runtime/syntax/html.vim
@@ -4,6 +4,7 @@
" Previous Maintainers: Jorge Maldonado Ventura <jorgesumle@freakspot.net>
" Claudio Fleiner <claudio@fleiner.com>
" Last Change: 2023 Nov 28
+" 2024 Jul 30 by Vim Project: increase syn-sync-minlines to 250
" See :help html.vim for some comments and a description of the options
@@ -320,7 +321,7 @@ if main_syntax == "html"
syn sync match htmlHighlight groupthere NONE "<[/a-zA-Z]"
syn sync match htmlHighlight groupthere javaScript "<script"
syn sync match htmlHighlightSkip "^.*['\"].*$"
- syn sync minlines=10
+ exe "syn sync minlines=" . get(g:, 'html_minlines', 250)
endif
" Folding