updated for version 7.0f03

This commit is contained in:
Bram Moolenaar
2006-04-27 21:40:34 +00:00
parent f193fffd16
commit 25e2c9e3e6
12 changed files with 402 additions and 190 deletions

View File

@ -2,7 +2,7 @@
" Language: Debian Changelog
" Maintainer: Michael Piefel <piefel@informatik.hu-berlin.de>
" Stefano Zacchiroli <zack@debian.org>
" Last Change: 25 April 2006
" Last Change: 27 April 2006
" License: GNU GPL, version 2.1 or later
if exists("g:did_changelog_ftplugin")
@ -203,17 +203,11 @@ au BufEnter * if &filetype == "debchangelog" | call <SID>MakeMenu() | endif
au BufLeave * if &filetype == "debchangelog" | aunmenu Changelog | endif
augroup END
" Debian changelogs are not supposed to have any other text width,
" so the user cannot override this setting
setlocal tw=78
setlocal comments=f:*
let b:undo_ftplugin = "setlocal tw< comments<"
" }}}
" {{{1 folding
setlocal foldmethod=expr
set foldexpr=GetDebChangelogFold(v:lnum)
setlocal foldexpr=GetDebChangelogFold(v:lnum)
setlocal foldtext=DebChangelogFoldText()
" look for an author name searching backward from a given line number
@ -251,4 +245,12 @@ endfunction
" }}}
" Debian changelogs are not supposed to have any other text width,
" so the user cannot override this setting
setlocal tw=78
setlocal comments=f:*
" Clean unloading
let b:undo_ftplugin = "setlocal tw< comments< foldmethod< foldexpr< foldtext<"
" vim: set foldmethod=marker: