annotate runtime/ftplugof.vim @ 26302:7351926fbe9e v8.2.3682

patch 8.2.3682: Vim9: assigning to a script variable drops the type Commit: https://github.com/vim/vim/commit/7824fc80f675b8098e6483ce082e287aad14b6da Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 26 17:36:51 2021 +0000 patch 8.2.3682: Vim9: assigning to a script variable drops the type Problem: Vim9: assigning to a script variable drops the required type. Solution: Lookup the type of the variable and use it. (closes https://github.com/vim/vim/issues/9219)
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 Nov 2021 18:45:03 +0100
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