Mercurial > vim
view runtime/ftplugof.vim @ 26784:c95a3f25b6b1 v8.2.3920
patch 8.2.3920: restoring directory after using another window is inefficient
Commit: https://github.com/vim/vim/commit/90c317f2246a7fb4bd4e3feb0778b53627bc9fad
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 28 13:15:05 2021 +0000
patch 8.2.3920: restoring directory after using another window is inefficient
Problem: Restoring directory after using another window is inefficient.
Solution: Only restore the directory for win_execute(). Apply 'autochdir'
only when needed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 28 Dec 2021 14: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