Mercurial > vim
view runtime/ftplugin/gitconfig.vim @ 5233:1899acc5aebd v7.4a.042
updated for version 7.4a.042
Problem: Crash when BufUnload autocommands close all buffers. (Andrew
Pimlott)
Solution: Set curwin->w_buffer to curbuf to avoid NULL.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 24 Jul 2013 16:02:36 +0200 |
parents | 7bc41231fbc7 |
children |
line wrap: on
line source
" Vim filetype plugin " Language: git config file " Maintainer: Tim Pope <vimNOSPAM@tpope.org> " Last Change: 2009 Dec 24 " Only do this when not done yet for this buffer if (exists("b:did_ftplugin")) finish endif let b:did_ftplugin = 1 setlocal formatoptions-=t formatoptions+=croql setlocal comments=:#,:; commentstring=;\ %s let b:undo_ftplugin = "setl fo< com< cms<"