Mercurial > vim
view runtime/ftplugin/slpspi.vim @ 11945:f37815bb7417 v8.0.0852
patch 8.0.0852: MS-Windows: possible crash when giving a message on startup
commit https://github.com/vim/vim/commit/1b66c00aeca87913e75012c59c4e969316e2626d
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 3 18:55:00 2017 +0200
patch 8.0.0852: MS-Windows: possible crash when giving a message on startup
Problem: MS-Windows: possible crash when giving a message on startup.
Solution: Initialize length. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/1931)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 03 Aug 2017 19:00:05 +0200 |
parents | 1218c5353e2b |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: RFC 2614 - An API for Service Location SPI file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setl com< cms< fo<" setlocal comments=:#,:; commentstring=#\ %s setlocal formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save