comparison runtime/ftplugin/cs.vim @ 48:67300faee616 v7-3-618

v7-3-618
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 01 Aug 2012 18:08:28 +0900
parents 76efa0be13f1
children
comparison
equal deleted inserted replaced
47:6c0584ec21b1 48:67300faee616
8 finish 8 finish
9 endif 9 endif
10 10
11 " Don't load another plugin for this buffer 11 " Don't load another plugin for this buffer
12 let b:did_ftplugin = 1 12 let b:did_ftplugin = 1
13 let s:keepcpo= &cpo
14 set cpo&vim
13 15
14 " Set 'formatoptions' to break comment lines but not other lines, 16 " Set 'formatoptions' to break comment lines but not other lines,
15 " and insert the comment leader when hitting <CR> or using "o". 17 " and insert the comment leader when hitting <CR> or using "o".
16 setlocal fo-=t fo+=croql 18 setlocal fo-=t fo+=croql
17 19
20 22
21 if has("gui_win32") && !exists("b:browsefilter") 23 if has("gui_win32") && !exists("b:browsefilter")
22 let b:browsefilter = "C# Source Files (*.cs)\t*.cs\n" . 24 let b:browsefilter = "C# Source Files (*.cs)\t*.cs\n" .
23 \ "All Files (*.*)\t*.*\n" 25 \ "All Files (*.*)\t*.*\n"
24 endif 26 endif
27
28 let &cpo = s:keepcpo
29 unlet s:keepcpo