Mercurial > vim
view runtime/ftoff.vim @ 31784:6377d791dcd1 v9.0.1224
patch 9.0.1224: cannot call a :def function with a number for float argument
Commit: https://github.com/vim/vim/commit/47bba53bdb6d59057887149e2eeb2071803e547e
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 20 18:49:46 2023 +0000
patch 9.0.1224: cannot call a :def function with a number for float argument
Problem: Cannot call a :def function with a number for a float argument.
Solution: Accept a number as well, convert it to a float.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 20 Jan 2023 21:01:46 +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 *