Mercurial > vim
view runtime/compiler/checkstyle.vim @ 16289:b4c7e026685c v8.1.1149
patch 8.1.1149: building desktop files fails with older msgfmt
commit https://github.com/vim/vim/commit/26096cc96fc402db45948b3b662a380281585649
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 11 15:25:40 2019 +0200
patch 8.1.1149: building desktop files fails with older msgfmt
Problem: Building desktop files fails with older msgfmt.
Solution: Add autoconf check. Avoid always building the desktop files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 11 Apr 2019 15:30:03 +0200 |
parents | f7add3891e95 |
children | 0db0640e16e0 |
line wrap: on
line source
" Vim compiler file " Compiler: Checkstyle " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2013 Jun 26 if exists("current_compiler") finish endif let current_compiler = "checkstyle" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif CompilerSet makeprg=java\ com.puppycrawl.tools.checkstyle.Main\ -f\ plain " sample error: WebTable.java:282: '+=' is not preceeded with whitespace. " WebTable.java:201:1: '{' should be on the previous line. CompilerSet errorformat=%f:%l:%v:\ %m,%f:%l:\ %m,%-G%.%#