Mercurial > vim
view runtime/ftoff.vim @ 22085:79dd6062d15c v8.2.1592
patch 8.2.1592: Vim9: passing "true" to char2nr() fails
Commit: https://github.com/vim/vim/commit/24f7750ffa9730579736d779b7cc94faff325fc1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 4 19:50:57 2020 +0200
patch 8.2.1592: Vim9: passing "true" to char2nr() fails
Problem: Vim9: passing "true" to char2nr() fails.
Solution: Use tv_get_bool_chk(). (closes https://github.com/vim/vim/issues/6865)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 04 Sep 2020 20:00:04 +0200 |
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 *