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/ftplugin/cs.vim | |
parent | bd1d5608952dd1c61f99f9b2f605610405415622 (diff) | |
download | vim-git-8e52a593765172de0f4d98a849d6d89d024b971e.tar.gz |
Fix more 'cpo' issues in runtime files.
Diffstat (limited to 'runtime/ftplugin/cs.vim')
-rw-r--r-- | runtime/ftplugin/cs.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/ftplugin/cs.vim b/runtime/ftplugin/cs.vim index 0ff3c9d56..7c2cbda32 100644 --- a/runtime/ftplugin/cs.vim +++ b/runtime/ftplugin/cs.vim @@ -10,6 +10,8 @@ endif " Don't load another plugin for this buffer let b:did_ftplugin = 1 +let s:keepcpo= &cpo +set cpo&vim " Set 'formatoptions' to break comment lines but not other lines, " and insert the comment leader when hitting <CR> or using "o". @@ -22,3 +24,6 @@ if has("gui_win32") && !exists("b:browsefilter") let b:browsefilter = "C# Source Files (*.cs)\t*.cs\n" . \ "All Files (*.*)\t*.*\n" endif + +let &cpo = s:keepcpo +unlet s:keepcpo |