Mercurial > vim
view runtime/compiler/javac.vim @ 31069:39698292a849 v9.0.0869
patch 9.0.0869: bogus error when string used after :elseif
Commit: https://github.com/vim/vim/commit/28c56d501352bd98472d23667bade683877cadcc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 12 23:12:55 2022 +0000
patch 9.0.0869: bogus error when string used after :elseif
Problem: Bogus error when string used after :elseif.
Solution: Do not consider a double quote the start of a comment.
(closes #11534)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Nov 2022 00:15:03 +0100 |
parents | d4c7b3e9cd17 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: Java Development Kit Compiler " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2019 Oct 21 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 let s:cpo_save = &cpo set cpo&vim CompilerSet makeprg=javac CompilerSet errorformat=%E%f:%l:\ error:\ %m, \%W%f:%l:\ warning:\ %m, \%-Z%p^, \%-C%.%#, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save