annotate runtime/ftplugin/automake.vim @ 21206:caab594592cc
v8.2.1154
patch 8.2.1154: Vim9: crash when using imported function
Commit: https://github.com/vim/vim/commit/c620c055ce8505596a7208ba696a32b8a3be4f4b
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 8 15:16:19 2020 +0200
patch 8.2.1154: Vim9: crash when using imported function
Problem: Vim9: crash when using imported function.
Solution: Check for a function type. Set the script context when calling a
function. (closes #6412)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Wed, 08 Jul 2020 15:30:04 +0200 |
parents |
1218c5353e2b |
children |
|
rev |
line source |
7
|
1 " Vim filetype plugin file
|
11062
|
2 " Language: Automake
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2008-07-09
|
7
|
5
|
375
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9
|
1698
|
10 let s:cpo_save = &cpo
|
|
11 set cpo&vim
|
|
12
|
7
|
13 runtime! ftplugin/make.vim ftplugin/make_*.vim ftplugin/make/*.vim
|
1698
|
14
|
|
15 let &cpo = s:cpo_save
|
|
16 unlet s:cpo_save
|