Mercurial > vim
view runtime/compiler/javac.vim @ 11543:57c452316da1 v8.0.0654
patch 8.0.0654: no warning for text after :endfunction
commit https://github.com/vim/vim/commit/663bb2331626944cea156374858131fcd323b9e9
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 22 19:12:10 2017 +0200
patch 8.0.0654: no warning for text after :endfunction
Problem: Text found after :endfunction is silently ignored.
Solution: Give a warning if 'verbose' is set. When | or \n are used,
execute the text as a command.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 22 Jun 2017 19:15:04 +0200 |
parents | f7add3891e95 |
children | d4c7b3e9cd17 |
line wrap: on
line source
" Vim compiler file " Compiler: javac " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2004 Nov 27 if exists("current_compiler") finish endif let current_compiler = "javac" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif CompilerSet makeprg=javac CompilerSet errorformat=%E%f:%l:\ %m,%-Z%p^,%-C%.%#,%-G%.%#