blob: 2933c2321a3e670398b92e7ed845dd5678c6a15b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'openscad') == -1
" Blatantly stolen from vim74\ftplugin\c.vim
" Set 'formatoptions' to break comment lines but not other lines,
" and insert the comment leader when hitting <CR> or using "o".
setlocal fo-=t fo+=croql
" Set 'comments' to format dashed lists in comments.
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
" Win32 can filter files in the browse dialog
if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
let b:browsefilter = "OpenSCAD Source Files (*.scad)\t*.scad\n" .
\ "All Files (*.*)\t*.*\n"
endif
endif
|