Mercurial > vim
view runtime/ftplugin/expect.vim @ 30590:d900f0561eee v9.0.0630
patch 9.0.0630: in Vim9 script a numbered function cannot be called
Commit: https://github.com/vim/vim/commit/cfb4d4f312e740c2fbb70c29c47cf74a76f8b605
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 30 19:19:04 2022 +0100
patch 9.0.0630: in Vim9 script a numbered function cannot be called
Problem: In Vim9 script a numbered function cannot be called.
Solution: Do not require "g:" before a numbered function name.
(closes #11254)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 30 Sep 2022 20:30:04 +0200 |
parents | 67f31c24291b |
children | 8ae680be2a51 |
line wrap: on
line source
" Vim filetype plugin file " Language: Expect " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2022 Jul 16 if exists("b:did_ftplugin") finish endif " Syntax is similar to Tcl runtime! ftplugin/tcl.vim let s:cpo_save = &cpo set cpo&vim if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") let b:browsefilter = "Expect Command Files (*.exp)\t*.exp\n" .. \ "All Files (*.*)\t*.*\n" endif let &cpo = s:cpo_save unlet s:cpo_save " vim: nowrap sw=2 sts=2 ts=8