Mercurial > vim
view runtime/ftplugin/hostconf.vim @ 11142:a54985a73ab2 v8.0.0458
patch 8.0.0458: potential crash if adding list or dict to dict fails
commit https://github.com/vim/vim/commit/42f45b850df93b806ef44f3025aecedfffb9ae01
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 14 22:17:14 2017 +0100
patch 8.0.0458: potential crash if adding list or dict to dict fails
Problem: Potential crash if adding list or dict to dict fails.
Solution: Make sure the reference count is correct. (Nikolai Pavlov, closes
#1555)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 14 Mar 2017 22:30:05 +0100 |
parents | 1218c5353e2b |
children |
line wrap: on
line source
" Vim filetype plugin file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2007-12-04 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 formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save