Checker yarac: minor cleanup.
This commit is contained in:
parent
e888225518
commit
88dd65673a
@ -7633,7 +7633,7 @@ You probably also need a plugin to set |filetype| for YANG files, such as
|
|||||||
==============================================================================
|
==============================================================================
|
||||||
SYNTAX CHECKERS FOR YARA *syntastic-checkers-yara*
|
SYNTAX CHECKERS FOR YARA *syntastic-checkers-yara*
|
||||||
|
|
||||||
The following checkers are available for YARA rule files. (filetype "yara"):
|
The following checkers are available for YARA rule files (filetype "yara"):
|
||||||
|
|
||||||
1. yarac....................|syntastic-yara-yarac|
|
1. yarac....................|syntastic-yara-yarac|
|
||||||
|
|
||||||
@ -7643,8 +7643,8 @@ The following checkers are available for YARA rule files. (filetype "yara"):
|
|||||||
Name: yarac
|
Name: yarac
|
||||||
Maintainer: Albert Song <albb@teamt5.org>
|
Maintainer: Albert Song <albb@teamt5.org>
|
||||||
|
|
||||||
"yarac" is the official compiler for YARA rule files.
|
"yarac" is the official compiler for YARA rule files. See the project's page
|
||||||
See the project's page at GitHub for more information:
|
at GitHub for more information:
|
||||||
|
|
||||||
https://github.com/VirusTotal/yara
|
https://github.com/VirusTotal/yara
|
||||||
|
|
||||||
@ -7655,9 +7655,10 @@ accepts the standard options described at |syntastic-config-makeprg|.
|
|||||||
|
|
||||||
Note~
|
Note~
|
||||||
|
|
||||||
You probably also need to set |filetype| for YARA rule files to "yara".
|
You probably also need a plugin to set |filetype| for YARA rule files, such as
|
||||||
You can do that with an `:autocmd`: >
|
"vim-yara":
|
||||||
autocmd BufNewFile,BufRead *.yar,*.yara set filetype=yara syntax=yara
|
|
||||||
|
https://github.com/yaunj/vim-yara
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
SYNTAX CHECKERS FOR Z80 *syntastic-checkers-z80*
|
SYNTAX CHECKERS FOR Z80 *syntastic-checkers-z80*
|
||||||
|
@ -19,7 +19,7 @@ if has('reltime')
|
|||||||
lockvar! g:_SYNTASTIC_START
|
lockvar! g:_SYNTASTIC_START
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let g:_SYNTASTIC_VERSION = '3.8.0-97'
|
let g:_SYNTASTIC_VERSION = '3.8.0-100'
|
||||||
lockvar g:_SYNTASTIC_VERSION
|
lockvar g:_SYNTASTIC_VERSION
|
||||||
|
|
||||||
" Sanity checks {{{1
|
" Sanity checks {{{1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"============================================================================
|
"============================================================================
|
||||||
"File: yara.vim
|
"File: yara.vim
|
||||||
"Description: Syntax checking plugin for syntastic.vim
|
"Description: Syntax checking plugin for syntastic
|
||||||
"Maintainer: Albert Song (albb@teamt5.org)
|
"Maintainer: Albert Song (albb@teamt5.org)
|
||||||
"License: This program is free software. It comes without any warranty,
|
"License: This program is free software. It comes without any warranty,
|
||||||
" to the extent permitted by applicable law. You can redistribute
|
" to the extent permitted by applicable law. You can redistribute
|
||||||
@ -22,13 +22,13 @@ function! SyntaxCheckers_yara_yarac_GetLocList() dict
|
|||||||
let makeprg = self.makeprgBuild({ 'fname_after' : syntastic#util#DevNull() })
|
let makeprg = self.makeprgBuild({ 'fname_after' : syntastic#util#DevNull() })
|
||||||
|
|
||||||
let errorformat =
|
let errorformat =
|
||||||
\ '%f(%l): %trror: %m,' .
|
\ '%f(%l): %trror: %m,' .
|
||||||
\ '%f(%l): %tarning: %m,'.
|
\ '%f(%l): %tarning: %m,' .
|
||||||
\ '%f(%l): %m'
|
\ '%f(%l): %m'
|
||||||
|
|
||||||
return SyntasticMake({
|
return SyntasticMake({
|
||||||
\ 'makeprg': makeprg,
|
\ 'makeprg': makeprg,
|
||||||
\ 'errorformat': errorformat })
|
\ 'errorformat': errorformat })
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||||
|
Loading…
Reference in New Issue
Block a user