Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
18789:bea2e4dfc6d7 | 18790:8dde7ced3344 |
---|---|
2 " Language: XML | 2 " Language: XML |
3 " Maintainer: Christian Brabandt <cb@256bit.org> | 3 " Maintainer: Christian Brabandt <cb@256bit.org> |
4 " Repository: https://github.com/chrisbra/vim-xml-ftplugin | 4 " Repository: https://github.com/chrisbra/vim-xml-ftplugin |
5 " Previous Maintainer: Johannes Zellner <johannes@zellner.org> | 5 " Previous Maintainer: Johannes Zellner <johannes@zellner.org> |
6 " Author: Paul Siegmann <pauls@euronet.nl> | 6 " Author: Paul Siegmann <pauls@euronet.nl> |
7 " Last Changed: Sept 24, 2019 | 7 " Last Changed: Nov 03, 2019 |
8 " Filenames: *.xml | 8 " Filenames: *.xml |
9 " Last Change: | 9 " Last Change: |
10 " 20190923 - Fix xmlEndTag to match xmlTag (vim/vim#884) | 10 " 20190923 - Fix xmlEndTag to match xmlTag (vim/vim#884) |
11 " 20190924 - Fix xmlAttribute property (amadeus/vim-xml@d8ce1c946) | 11 " 20190924 - Fix xmlAttribute property (amadeus/vim-xml@d8ce1c946) |
12 " 20191103 - Enable spell checking globally | |
12 | 13 |
13 " CONFIGURATION: | 14 " CONFIGURATION: |
14 " syntax folding can be turned on by | 15 " syntax folding can be turned on by |
15 " | 16 " |
16 " let g:xml_syntax_folding = 1 | 17 " let g:xml_syntax_folding = 1 |
49 | 50 |
50 let s:xml_cpo_save = &cpo | 51 let s:xml_cpo_save = &cpo |
51 set cpo&vim | 52 set cpo&vim |
52 | 53 |
53 syn case match | 54 syn case match |
55 | |
56 " Allow spell checking in tag values, | |
57 " there is no syntax region for that, | |
58 " so enable spell checking in top-level elements | |
59 " <tag>This text is spell checked</tag> | |
60 syn spell toplevel | |
54 | 61 |
55 " mark illegal characters | 62 " mark illegal characters |
56 syn match xmlError "[<&]" | 63 syn match xmlError "[<&]" |
57 | 64 |
58 " strings (inside tags) aka VALUES | 65 " strings (inside tags) aka VALUES |