Lines Matching refs:indent
18 " 20180724 - Correctly indent xml comments https://github.com/vim/vim/issues/3200
21 " 1) does not indent pure non-xml code (e.g. embedded scripts)
27 " Only load this indent file when no other was loaded.
36 " Attention: Parameter use_syntax_check is used by the docbk.vim indent script
76 " don't indent pure non-xml code
86 " no complete tag, add one additional indent level
90 " no complete tag, return initial indent
103 " Main indent function
107 " Hit the start of the file, use zero indent.
122 let pind = indent(ptag)
131 return indent(a:lnum)
143 " non-xml tag content: use indent from 'autoindent'
147 " only indent by an extra shiftwidth, if the previous line ends
151 " no extra indent, looks like a text continuation line
156 " Get indent from previous tag line
158 " Determine indent from current line
178 " return indent for a commented line,
185 " one additional level of indent
188 " declared, we should indent with its indent level.
190 return indent(ptagclose)
192 return indent(ptagclose) - shiftwidth()
195 return indent(ptagclose)
198 return indent(ptagopen) + shiftwidth()
202 return indent(search('<!--', 'bnW'))
205 return indent(search('<!--', 'bnW')) + shiftwidth()