Mercurial > vim
view runtime/ftplugof.vim @ 23227:ccbbbbed371f v8.2.2159
patch 8.2.2159: Vim9: when declaring a list it is not allocated yet
Commit: https://github.com/vim/vim/commit/3beaf9cd8efa3ba83e07187215004d140b89d529
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 18 17:23:14 2020 +0100
patch 8.2.2159: Vim9: when declaring a list it is not allocated yet
Problem: Vim9: when declaring a list it is not allocated yet, causing a
following extend() to fail.
Solution: When fetching a variable value for a list or dict that is null
allocate the list or dict, so it can be used. (closes #7491)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 18 Dec 2020 17:30:04 +0100 |
parents | 49b08c9b9f5b |
children | 179c118424a6 |
line wrap: on
line source
" Vim support file to switch off loading plugins for file types " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last Change: 2011 Oct 20 if exists("did_load_ftplugin") unlet did_load_ftplugin endif " Remove all autocommands in the filetypeplugin group, if any exist. if exists("#filetypeplugin") silent! au! filetypeplugin * endif