"Fossies" - the Fresh Open Source Software Archive

Member "vim-8.2.1354/runtime/compiler/checkstyle.vim" (2 Aug 2020, 588 Bytes) of package /linux/misc/vim-8.2.1354.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) vimscript source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 " Vim compiler file
    2 " Compiler: Checkstyle
    3 " Maintainer:   Doug Kearns <dougkearns@gmail.com>
    4 " Last Change:  2013 Jun 26
    5 
    6 if exists("current_compiler")
    7   finish
    8 endif
    9 let current_compiler = "checkstyle"
   10 
   11 if exists(":CompilerSet") != 2      " older Vim always used :setlocal
   12   command -nargs=* CompilerSet setlocal <args>
   13 endif
   14 
   15 CompilerSet makeprg=java\ com.puppycrawl.tools.checkstyle.Main\ -f\ plain
   16 
   17 " sample error: WebTable.java:282: '+=' is not preceeded with whitespace.
   18 "       WebTable.java:201:1: '{' should be on the previous line.
   19 CompilerSet errorformat=%f:%l:%v:\ %m,%f:%l:\ %m,%-G%.%#