commit | 8e52a593765172de0f4d98a849d6d89d024b971e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri May 18 21:49:28 2012 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri May 18 21:49:28 2012 +0200 |
tree | 835eaca57a3432e958820b1a994ffa410dd24572 | |
parent | bd1d5608952dd1c61f99f9b2f605610405415622 [diff] [blame] |
Fix more 'cpo' issues in runtime files.
diff --git a/runtime/indent/css.vim b/runtime/indent/css.vim index 2a09566..f85bb05 100644 --- a/runtime/indent/css.vim +++ b/runtime/indent/css.vim
@@ -15,6 +15,8 @@ if exists("*GetCSSIndent") finish endif +let s:keepcpo= &cpo +set cpo&vim function s:prevnonblanknoncomment(lnum) let lnum = a:lnum @@ -74,3 +76,6 @@ return indent(pnum) + s:count_braces(pnum, 1) * &sw \ - s:count_braces(v:lnum, 0) * &sw endfunction + +let &cpo = s:keepcpo +unlet s:keepcpo