xml.vim: patch runtime/syntax to 4ceaa3a6e0b8cb299

vim/vim@4ceaa3a6e0
This commit is contained in:
adrian5 2020-11-22 22:47:39 +01:00
parent f1b826778e
commit 2d35706b97

View File

@ -4,11 +4,12 @@
" Repository: https://github.com/chrisbra/vim-xml-ftplugin " Repository: https://github.com/chrisbra/vim-xml-ftplugin
" Previous Maintainer: Johannes Zellner <johannes@zellner.org> " Previous Maintainer: Johannes Zellner <johannes@zellner.org>
" Author: Paul Siegmann <pauls@euronet.nl> " Author: Paul Siegmann <pauls@euronet.nl>
" Last Changed: Sept 24, 2019 " Last Changed: Nov 03, 2019
" Filenames: *.xml " Filenames: *.xml
" Last Change: " Last Change:
" 20190923 - Fix xmlEndTag to match xmlTag (vim/vim#884) " 20190923 - Fix xmlEndTag to match xmlTag (vim/vim#884)
" 20190924 - Fix xmlAttribute property (amadeus/vim-xml@d8ce1c946) " 20190924 - Fix xmlAttribute property (amadeus/vim-xml@d8ce1c946)
" 20191103 - Enable spell checking globally
" CONFIGURATION: " CONFIGURATION:
" syntax folding can be turned on by " syntax folding can be turned on by
@ -52,6 +53,12 @@ set cpo&vim
syn case match syn case match
" Allow spell checking in tag values,
" there is no syntax region for that,
" so enable spell checking in top-level elements
" <tag>This text is spell checked</tag>
syn spell toplevel
" mark illegal characters " mark illegal characters
syn match xmlError "[<&]" syn match xmlError "[<&]"