Mercurial > vim
comparison runtime/ftplugof.vim @ 27623:179c118424a6
Update runtime files
Commit: https://github.com/vim/vim/commit/9da17d7c57071c306565da6a35c3704db1916b78
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 9 21:50:44 2022 +0000
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 09 Feb 2022 23:00:06 +0100 |
parents | 49b08c9b9f5b |
children | 4027cefc2aab |
comparison
equal
deleted
inserted
replaced
27622:e33b6abfe384 | 27623:179c118424a6 |
---|---|
1 " Vim support file to switch off loading plugins for file types | 1 vim9script |
2 " | |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | |
4 " Last Change: 2011 Oct 20 | |
5 | 2 |
6 if exists("did_load_ftplugin") | 3 # Vim support file to switch off loading plugins for file types |
7 unlet did_load_ftplugin | 4 # |
5 # Maintainer: Bram Moolenaar <Bram@vim.org> | |
6 # Last Change: 2022 Feb 09 | |
7 | |
8 if exists("g:did_load_ftplugin") | |
9 unlet g:did_load_ftplugin | |
8 endif | 10 endif |
9 | 11 |
10 " Remove all autocommands in the filetypeplugin group, if any exist. | 12 # Remove all autocommands in the filetypeplugin group, if any exist. |
11 if exists("#filetypeplugin") | 13 if exists("#filetypeplugin") |
12 silent! au! filetypeplugin * | 14 silent! au! filetypeplugin * |
13 endif | 15 endif |