annotate runtime/ftplugin/bdf.vim @ 27503:4cea92e99a5a
v8.2.4279
patch 8.2.4279: Vim9: cannot change item type with map() after range()
Commit: https://github.com/vim/vim/commit/8133018f50bc447570825801e93d5ed67e8dac90
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 1 12:11:58 2022 +0000
patch 8.2.4279: Vim9: cannot change item type with map() after range()
Problem: Vim9: cannot change item type with map() after range().
Solution: Split the return type in current type and declared type.
(closes #9665)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Tue, 01 Feb 2022 13:15:03 +0100 |
parents |
1218c5353e2b |
children |
|
rev |
line source |
375
|
1 " Vim filetype plugin file
|
11062
|
2 " Language: BDF font definition
|
|
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
|
4 " Latest Revision: 2008-07-09
|
375
|
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<"
|
375
|
15
|
|
16 setlocal comments=b:COMMENT commentstring=COMMENT\ %s
|
389
|
17 setlocal formatoptions-=t formatoptions+=croql
|
1698
|
18
|
|
19 let &cpo = s:cpo_save
|
|
20 unlet s:cpo_save
|