Mercurial > vim
view runtime/indent/c.vim @ 11635:70bc7b107610 v8.0.0700
patch 8.0.0700: segfault with QuitPre autocommand closes the window
commit https://github.com/vim/vim/commit/0ea5070d79c8a13fb2403280a72f968495b0fab7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 8 14:44:50 2017 +0200
patch 8.0.0700: segfault with QuitPre autocommand closes the window
Problem: Segfault with QuitPre autocommand closes the window. (Marek)
Solution: Check that the window pointer is still valid. (Christian Brabandt,
closes #1817)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 08 Jul 2017 14:45:03 +0200 |
parents | fca8a9b65afa |
children | 4027cefc2aab |
line wrap: on
line source
" Vim indent file " Language: C " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2005 Mar 27 " Only load this indent file when no other was loaded. if exists("b:did_indent") finish endif let b:did_indent = 1 " C indenting is built-in, thus this is very simple setlocal cindent let b:undo_indent = "setl cin<"