Mercurial > vim
view runtime/indent/docbk.vim @ 6020:ad005d0114c1 v7.4.350
updated for version 7.4.350
Problem: Using C indenting for Javascript does not work well for a {} block
inside parenthesis.
Solution: When looking for a matching paren ignore one that is before the
start of a {} block.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 02 Jul 2014 18:27:48 +0200 |
parents | 8cd729851562 |
children | 1218c5353e2b |
line wrap: on
line source
" Vim indent file " Language: DocBook Documentation Format " Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2006-04-19 if exists("b:did_indent") finish endif " Same as XML indenting for now. runtime! indent/xml.vim if exists('*XmlIndentGet') setlocal indentexpr=XmlIndentGet(v:lnum,0) endif