annotate runtime/ftplugin/passwd.vim @ 22347:712bc35842aa
v8.2.1722
patch 8.2.1722: Vim9: cannot assign a lambda to a variable of type function
Commit: https://github.com/vim/vim/commit/dbd759309b4b6abea96b18d61770e100cf4264b5
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 21 21:48:21 2020 +0200
patch 8.2.1722: Vim9: cannot assign a lambda to a variable of type function
Problem: Vim9: cannot assign a lambda to a variable of type function.
Solution: Allow for assigning a partial to a variable of type function.
(Naruhiko Nishino, closes #6996)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Mon, 21 Sep 2020 22:00:03 +0200 |
parents |
1218c5353e2b |
children |
|
rev |
line source |
389
|
1 " Vim filetype plugin file
|
11062
|
2 " Language: passwd(5) password file
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2008-07-09
|
389
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
1698
|
11 let s:cpo_save = &cpo
|
|
12 set cpo&vim
|
|
13
|
389
|
14 let b:undo_ftplugin = "setl com< cms< fo<"
|
|
15
|
|
16 setlocal comments= commentstring= formatoptions-=tcroq formatoptions+=l
|
1698
|
17
|
|
18 let &cpo = s:cpo_save
|
|
19 unlet s:cpo_save
|