Mercurial > vim
view runtime/compiler/msbuild.vim @ 26406:fcc57227e99b v8.2.3734
patch 8.2.3734: Vim9: crash when no pattern match found
Commit: https://github.com/vim/vim/commit/01a4dcbceefa99696bd1ef8631c3f7ce9f6e0cc2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 4 13:15:10 2021 +0000
patch 8.2.3734: Vim9: crash when no pattern match found
Problem: Vim9: crash when no pattern match found.
Solution: Check for error.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 04 Dec 2021 14:30:03 +0100 |
parents | eb6ab7e78925 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: Microsoft Visual Studio C# " Maintainer: Chiel ten Brinke (ctje92@gmail.com) " Last Change: 2013 May 13 if exists("current_compiler") finish endif let current_compiler = "msbuild" let s:keepcpo= &cpo set cpo&vim if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m CompilerSet makeprg=msbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true let &cpo = s:keepcpo unlet s:keepcpo