Mercurial > vim
annotate runtime/compiler/xbuild.vim @ 9485:c16e207dc465 v7.4.2023
commit https://github.com/vim/vim/commit/ea3f2e7be447a8f0c4436869620f908de5e8ef1e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 10 20:27:32 2016 +0200
patch 7.4.2023
Problem: buflist_findname_stat() may find a dummy buffer.
Solution: Set the BF_DUMMY flag after loading a dummy buffer. Start
finding buffers from the end of the list.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 10 Jul 2016 20:30:06 +0200 |
parents | eb6ab7e78925 |
children | e1df51f68736 |
rev | line source |
---|---|
4437 | 1 " Vim compiler file |
2 " Compiler: Mono C# | |
3 " Maintainer: Chiel ten Brinke (ctje92@gmail.com) | |
4 " Last Change: 2013 May 13 | |
5 | |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 | |
10 let current_compiler = "xbuild" | |
11 let s:keepcpo= &cpo | |
12 set cpo&vim | |
13 | |
14 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
15 command -nargs=* CompilerSet setlocal <args> | |
16 endif | |
17 | |
18 CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m | |
19 CompilerSet makeprg=xbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true | |
20 | |
21 let &cpo = s:keepcpo | |
22 unlet s:keepcpo |