Mercurial > vim
annotate runtime/compiler/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 | 2c3f939d46bf |
rev | line source |
---|---|
7 | 1 " Vim compiler file |
11062 | 2 " Compiler: BDF to PCF Conversion |
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | |
4 " Latest Revision: 2006-04-19 | |
7 | 5 |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "bdf" | |
10 | |
11 let s:cpo_save = &cpo | |
12 set cpo-=C | |
13 | |
839 | 14 setlocal makeprg=bdftopcf\ $* |
7 | 15 |
839 | 16 setlocal errorformat=%ABDF\ %trror\ on\ line\ %l:\ %m, |
7 | 17 \%-Z%p^, |
18 \%Cbdftopcf:\ bdf\ input\\,\ %f\\,\ corrupt, | |
19 \%-G%.%# | |
20 | |
21 let &cpo = s:cpo_save | |
22 unlet s:cpo_save |