aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-06-16 16:48:23 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-06-16 23:24:55 +0200
commit72ddf213a16d7b926ec439ce7616c95d1c041071 (patch)
treeb6670704ebcbc9eeb9609d9a546a51416001d71a
parent615e859a0e0a6410dccc095693350e0ec2a280de (diff)
downloadrneovim-72ddf213a16d7b926ec439ce7616c95d1c041071.tar.gz
rneovim-72ddf213a16d7b926ec439ce7616c95d1c041071.tar.bz2
rneovim-72ddf213a16d7b926ec439ce7616c95d1c041071.zip
vim-patch:917ff8a: runtime(html): bump length of character references in syntax script (vim/vim#15022)
This allows handling longer references such as `&CounterClockwiseContourIntegral;`. https://github.com/vim/vim/commit/917ff8a19d2746dd922b7292dc61fb92e18b7ce2 Co-authored-by: Mohamed Akram <mohd.akram@outlook.com>
-rw-r--r--runtime/syntax/html.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/syntax/html.vim b/runtime/syntax/html.vim
index c975ae8620..d067dde83c 100644
--- a/runtime/syntax/html.vim
+++ b/runtime/syntax/html.vim
@@ -191,7 +191,7 @@ syn keyword htmlArg contained step title translate typemustmatch
syn match htmlArg contained "\<data-\h\%(\w\|[-.]\)*\%(\_s*=\)\@="
" special characters
-syn match htmlSpecialChar "&#\=[0-9A-Za-z]\{1,8};"
+syn match htmlSpecialChar "&#\=[0-9A-Za-z]\{1,32};"
" Comments (the real ones or the old netscape ones)
if exists("html_wrong_comments")