Mercurial > vim
view runtime/ftoff.vim @ 26105:fd1cbe72815a v8.2.3585
patch 8.2.3585: crash when passing float to "term_rows" of term_start()
Commit: https://github.com/vim/vim/commit/88137396733896eb5e49c2b3b73d9a496d6ce49a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 12 16:01:15 2021 +0000
patch 8.2.3585: crash when passing float to "term_rows" of term_start()
Problem: Crash when passing float to "term_rows" in the options argument of
term_start(). (Virginia Senioria)
Solution: Bail out if the argument is not a number. (closes #9116)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 12 Nov 2021 17:15:03 +0100 |
parents | 3fc0f57ecb91 |
children | 4027cefc2aab |
line wrap: on
line source
" Vim support file to switch off detection of file types " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last change: 2001 Jun 11 if exists("did_load_filetypes") unlet did_load_filetypes endif " Remove all autocommands in the filetypedetect group silent! au! filetypedetect *