blob: 9c9c6c5979328edc06b25b8a0b03ca0d3a476abb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
" Extra configuration for 'sed' filetypes
if &compatible || v:version < 700 || exists('b:did_ftplugin_after')
finish
endif
if &filetype !=# 'sed'
finish
endif
let b:did_ftplugin_after = 1
let b:undo_ftplugin = b:undo_ftplugin
\ . '|unlet b:did_ftplugin_after'
" Set comment formats
setlocal comments=:#
setlocal formatoptions+=or
let b:undo_ftplugin = b:undo_ftplugin
\ . '|setlocal comments<'
\ . '|setlocal formatoptions<'
|