Mercurial > vim
view runtime/ftplugof.vim @ 22760:d235c5fa0bbe v8.2.1928
patch 8.2.1928: Vim9: "silent!" not effective when list index is wrong
Commit: https://github.com/vim/vim/commit/cd030c4b604bea92311e9c418aefe5143dee9201
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 30 21:49:40 2020 +0100
patch 8.2.1928: Vim9: "silent!" not effective when list index is wrong
Problem: Vim9: "silent!" not effective when list index is wrong.
Solution: Ignore list indes failure when emsg_silent is set. (closes https://github.com/vim/vim/issues/7232)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 30 Oct 2020 22:00:03 +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