comparison runtime/ftplugin/changelog.vim @ 233:fca8a9b65afa

updated for version 7.0065
author vimboss
date Mon, 28 Mar 2005 20:58:01 +0000
parents 3fc0f57ecb91
children f14cbd913415
comparison
equal deleted inserted replaced
232:41e7594cac8b 233:fca8a9b65afa
214 if exists(":NewChangelogEntry") != 2 214 if exists(":NewChangelogEntry") != 2
215 map <buffer> <silent> <Leader>o <Esc>:call <SID>new_changelog_entry()<CR> 215 map <buffer> <silent> <Leader>o <Esc>:call <SID>new_changelog_entry()<CR>
216 command! -nargs=0 NewChangelogEntry call s:new_changelog_entry() 216 command! -nargs=0 NewChangelogEntry call s:new_changelog_entry()
217 endif 217 endif
218 218
219 let b:undo_ftplugin = "setl com< tw< fo< et< ai<" 219 let b:undo_ftplugin = "setl com< tw< fo< et<"
220 220
221 if &textwidth == 0 221 if &textwidth == 0
222 setlocal textwidth=78 222 setlocal textwidth=78
223 endif 223 endif
224 setlocal comments= 224 setlocal comments=
225 setlocal formatoptions+=t 225 setlocal formatoptions+=t
226 setlocal noexpandtab 226 setlocal noexpandtab
227 setlocal autoindent 227 " setlocal autoindent now in indent file
228 228
229 let &cpo = cpo_save 229 let &cpo = cpo_save
230 else 230 else
231 " Add the Changelog opening mapping 231 " Add the Changelog opening mapping
232 nmap <silent> <Leader>o :call <SID>open_changelog()<CR> 232 nmap <silent> <Leader>o :call <SID>open_changelog()<CR>