Fix more 'cpo' issues in runtime files.

This commit is contained in:
Bram Moolenaar
2012-05-18 21:49:28 +02:00
parent bd1d560895
commit 8e52a59376
25 changed files with 122 additions and 70 deletions

View File

@ -15,6 +15,8 @@ setlocal nosmartindent
if exists("*GetXinetdIndent")
finish
endif
let s:keepcpo= &cpo
set cpo&vim
function s:count_braces(lnum, count_open)
let n_open = 0
@ -48,3 +50,6 @@ function GetXinetdIndent()
return indent(pnum) + s:count_braces(pnum, 1) * &sw
\ - s:count_braces(v:lnum, 0) * &sw
endfunction
let &cpo = s:keepcpo
unlet s:keepcpo