diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-07-18 19:40:27 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-07-18 19:40:27 +0200 |
commit | 9729301aa0b6a419dcd87fe9aeed72c367ae72ef (patch) | |
tree | 6b69898bbf1a090cdf1fd26720bc4cfcb90c897b /runtime/indent/dtd.vim | |
parent | 0acc5618f6954c6faf57032d6b4f611de4254acb (diff) |
Updated runtime files.
Add missing test82 files.
Diffstat (limited to 'runtime/indent/dtd.vim')
-rw-r--r-- | runtime/indent/dtd.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/dtd.vim b/runtime/indent/dtd.vim index 42a8789332..4350dfbe2f 100644 --- a/runtime/indent/dtd.vim +++ b/runtime/indent/dtd.vim @@ -1,7 +1,7 @@ " Vim indent file " Language: DTD (Document Type Definition for XML) " Maintainer: Nikolai Weibull <now@bitwi.se> -" Latest Revision: 2010-09-21 +" Latest Revision: 2011-07-08 let s:cpo_save = &cpo set cpo&vim @@ -52,7 +52,7 @@ function s:indent_to_innermost_parentheses(line, end) let end = a:end let parentheses = [end - 1] while token != "" - let [token, end] = s:lex(a:line, end, '^\%([(),|]\|[A-Za-z0-9_-]\+\|#PCDATA\|%[A-Za-z0-9_-]\+;\)[?*+]\=') + let [token, end] = s:lex(a:line, end, '^\%([(),|]\|[A-Za-z0-9_-]\+\|#P\=CDATA\|%[A-Za-z0-9_-]\+;\)[?*+]\=') if token[0] == '(' call add(parentheses, end - 1) elseif token[0] == ')' |