Mercurial > vim
view runtime/compiler/fpc.vim @ 21695:f27187782dc6 v8.2.1397
patch 8.2.1397: Vim9: return type of maparg() not adjusted for fourth arg
Commit: https://github.com/vim/vim/commit/4a6d1b660fcea67931202527ad2852da55d26d49
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 8 17:55:49 2020 +0200
patch 8.2.1397: Vim9: return type of maparg() not adjusted for fourth arg
Problem: Vim9: return type of maparg() not adjusted for fourth argument.
Solution: Check if fourth argument is present. (closes https://github.com/vim/vim/issues/6645)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Aug 2020 18:00:04 +0200 |
parents | 862863033fdd |
children | 11b656e74444 |
line wrap: on
line source
" Vim compiler file " Compiler: FPC 2.1 " Maintainer: Jaroslaw Blasiok <jaro3000@o2.pl> " Last Change: 2005 October 07 if exists("current_compiler") finish endif let current_compiler = "fpc" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif " NOTE: compiler must be runned with -vb to write whole source path, not only file " name. CompilerSet errorformat=%f(%l\\,%c)\ %m