From 56fd192a79c8c8f1512c665775251a1a813fa83c Mon Sep 17 00:00:00 2001 From: Dominic Ricottone Date: Thu, 15 Sep 2022 14:54:27 -0500 Subject: [PATCH] Merging part of Dec 3, 2019 upstream commit Adds support for spell checking --- syntax/xml.vim | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/syntax/xml.vim b/syntax/xml.vim index 2d96b7f..dc3db54 100644 --- a/syntax/xml.vim +++ b/syntax/xml.vim @@ -5,11 +5,12 @@ " Johannes Zellner " Paul Siegmann " Lorenzo Ruiz -" Last Change: Sept 24, 2019 +" Last Changed: Nov 03, 2019 " Filenames: *.xml " Last Change: " 20190923 - Fix xmlEndTag to match xmlTag (vim/vim#884) " 20190924 - Fix xmlAttribute property (amadeus/vim-xml@d8ce1c946) +" 20191103 - Enable spell checking globally " CONFIGURATION: " syntax folding can be turned on by @@ -53,6 +54,12 @@ set cpo&vim syn case match +" Allow spell checking in tag values, +" there is no syntax region for that, +" so enable spell checking in top-level elements +" This text is spell checked +syn spell toplevel + " mark illegal characters syn match xmlError "[<&]" -- 2.45.2