updated for version 7.1b

This commit is contained in:
Bram Moolenaar
2007-05-10 19:06:20 +00:00
parent 3ad16f3fe6
commit 25394022f2
13 changed files with 69 additions and 53 deletions

View File

@ -1,7 +1,7 @@
" Vim indent file
" Language: XFree86 Configuration File
" Language: XFree86 Configuration File
" Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2006-04-19
" Latest Revision: 2006-12-20
if exists("b:did_indent")
finish
@ -10,6 +10,7 @@ let b:did_indent = 1
setlocal indentexpr=GetXF86ConfIndent()
setlocal indentkeys=!^F,o,O,=End
setlocal nosmartindent
if exists("*GetXF86ConfIndent")
finish
@ -28,7 +29,7 @@ function GetXF86ConfIndent()
let ind = ind + &sw
endif
if getline(v:lnum) =~? '^\s*End\>'
if getline(v:lnum) =~? '^\s*End\(Sub\)\=Section\>'
let ind = ind - &sw
endif