diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-05-18 21:49:28 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-05-18 21:49:28 +0200 |
commit | 8e52a593765172de0f4d98a849d6d89d024b971e (patch) | |
tree | 835eaca57a3432e958820b1a994ffa410dd24572 /runtime/indent/css.vim | |
parent | bd1d5608952dd1c61f99f9b2f605610405415622 (diff) | |
download | vim-git-8e52a593765172de0f4d98a849d6d89d024b971e.tar.gz |
Fix more 'cpo' issues in runtime files.
Diffstat (limited to 'runtime/indent/css.vim')
-rw-r--r-- | runtime/indent/css.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/indent/css.vim b/runtime/indent/css.vim index 2a09566e1..f85bb05ac 100644 --- a/runtime/indent/css.vim +++ b/runtime/indent/css.vim @@ -15,6 +15,8 @@ setlocal nosmartindent if exists("*GetCSSIndent") finish endif +let s:keepcpo= &cpo +set cpo&vim function s:prevnonblanknoncomment(lnum) let lnum = a:lnum @@ -74,3 +76,6 @@ function GetCSSIndent() return indent(pnum) + s:count_braces(pnum, 1) * &sw \ - s:count_braces(v:lnum, 0) * &sw endfunction + +let &cpo = s:keepcpo +unlet s:keepcpo |