comparison runtime/indent/dtd.vim @ 14637:0ecb909e3249

Update runtime files. commit https://github.com/vim/vim/commit/fc65cabb15d0236bce001ad78e12a40511caf941 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 28 22:58:02 2018 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Tue, 28 Aug 2018 23:00:08 +0200
parents d0a20101ecb2
children 11b656e74444
comparison
equal deleted inserted replaced
14636:91eef21ff090 14637:0ecb909e3249
1 " Vim indent file 1 " Vim indent file
2 " Language: DTD (Document Type Definition for XML) 2 " Language: DTD (Document Type Definition for XML)
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> 3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2011-07-08 4 " Latest Revision: 2011-07-08
5 5
6 let s:cpo_save = &cpo
7 set cpo&vim
8
9 setlocal indentexpr=GetDTDIndent() 6 setlocal indentexpr=GetDTDIndent()
10 setlocal indentkeys=!^F,o,O,> 7 setlocal indentkeys=!^F,o,O,>
11 setlocal nosmartindent 8 setlocal nosmartindent
12 9
13 if exists("*GetDTDIndent") 10 if exists("*GetDTDIndent")
14 finish 11 finish
15 endif 12 endif
13
14 let s:cpo_save = &cpo
15 set cpo&vim
16 16
17 " TODO: Needs to be adjusted to stop at [, <, and ]. 17 " TODO: Needs to be adjusted to stop at [, <, and ].
18 let s:token_pattern = '^[^[:space:]]\+' 18 let s:token_pattern = '^[^[:space:]]\+'
19 19
20 function s:lex1(input, start, ...) 20 function s:lex1(input, start, ...)