annotate runtime/ftplugof.vim @ 20534:ae758aa4ee5e v8.2.0821

patch 8.2.0821: Vim9: memory leak in expr test Commit: https://github.com/vim/vim/commit/45a1508a229b1d1d2eb79cabe55a183dc18fd040 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 25 00:28:33 2020 +0200 patch 8.2.0821: Vim9: memory leak in expr test Problem: Vim9: memory leak in expr test. Solution: Do not decrement the length of the list of functions if the current function is not at the end.
author Bram Moolenaar <Bram@vim.org>
date Mon, 25 May 2020 00:30:03 +0200
parents 49b08c9b9f5b
children 179c118424a6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim support file to switch off loading plugins for file types
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
3139
49b08c9b9f5b updated for version 7.3.340
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
4 " Last Change: 2011 Oct 20
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 if exists("did_load_ftplugin")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 unlet did_load_ftplugin
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3139
49b08c9b9f5b updated for version 7.3.340
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
10 " Remove all autocommands in the filetypeplugin group, if any exist.
49b08c9b9f5b updated for version 7.3.340
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
11 if exists("#filetypeplugin")
49b08c9b9f5b updated for version 7.3.340
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
12 silent! au! filetypeplugin *
49b08c9b9f5b updated for version 7.3.340
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
13 endif