| 1 |
" Vim filetype plugin file |
| 2 |
" Language: SystemTap |
| 3 |
" Maintainer: SystemTap Developers <[email protected]> |
| 4 |
" Last Change: 2011 Aug 4 |
| 5 |
|
| 6 |
" Only do this when not done yet for this buffer |
| 7 |
if exists("b:did_ftplugin") |
| 8 |
finish |
| 9 |
endif |
| 10 |
|
| 11 |
" Don't load another plugin for this buffer |
| 12 |
let b:did_ftplugin = 1 |
| 13 |
|
| 14 |
set cpo-=C |
| 15 |
|
| 16 |
let b:undo_ftplugin = "setl cin< fo< com<" |
| 17 |
|
| 18 |
setlocal cindent |
| 19 |
|
| 20 |
" Set 'formatoptions' to break comment lines but not other lines, |
| 21 |
" and insert the comment leader when hitting <CR> or using "o". |
| 22 |
setlocal fo-=t fo+=croql |
| 23 |
|
| 24 |
" Set 'comments' to format dashed lists in comments. |
| 25 |
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://,:# |