Mercurial > vim
diff runtime/syntax/xml.vim @ 18790:8dde7ced3344
Update a few runtime files
Commit: https://github.com/vim/vim/commit/4ceaa3a6e0b8cb2994c303041aedcbb60527cd61
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 3 22:49:09 2019 +0100
Update a few runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 03 Dec 2019 23:00:06 +0100 |
parents | 6d11fc4aa683 |
children | f0d7cb510ce3 |
line wrap: on
line diff
--- a/runtime/syntax/xml.vim +++ b/runtime/syntax/xml.vim @@ -4,11 +4,12 @@ " Repository: https://github.com/chrisbra/vim-xml-ftplugin " Previous Maintainer: Johannes Zellner <johannes@zellner.org> " Author: Paul Siegmann <pauls@euronet.nl> -" Last Changed: 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 @@ -52,6 +53,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 +" <tag>This text is spell checked</tag> +syn spell toplevel + " mark illegal characters syn match xmlError "[<&]"