annotate runtime/compiler/neato.vim @ 8730:c1ac169ee618
v7.4.1654
commit https://github.com/vim/vim/commit/52c6eaffd43a8c8865f8d6ed7cde0a8b137479e2
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 25 18:42:46 2016 +0100
patch 7.4.1654
Problem: Crash when using expand('%:S') in a buffer without a name.
Solution: Don't set a NUL. (James McCoy, closes https://github.com/vim/vim/issues/714)
author |
Christian Brabandt <cb@256bit.org> |
date |
Fri, 25 Mar 2016 18:45:05 +0100 |
parents |
3fc0f57ecb91 |
children |
80a9b43d299b |
rev |
line source |
7
|
1 " Vim compiler file
|
|
2 " Compiler: ATT neato
|
|
3 " Maintainer: Marcos Macedo <bar4ka@bol.com.br>
|
|
4 " Last Change: 2004 May 16
|
|
5
|
|
6 if exists("current_compiler")
|
|
7 finish
|
|
8 endif
|
|
9 let current_compiler = "neato"
|
|
10
|
|
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
|
12 command -nargs=* CompilerSet setlocal <args>
|
|
13 endif
|
|
14
|
|
15 CompilerSet makeprg=neato\ -T$*\ \"%:p\"\ -o\ \"%:p:r.$*\"
|