diff --git a/doc/syntastic-checkers.txt b/doc/syntastic-checkers.txt index 242077cc..22e2432b 100644 --- a/doc/syntastic-checkers.txt +++ b/doc/syntastic-checkers.txt @@ -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* -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| @@ -7643,8 +7643,8 @@ The following checkers are available for YARA rule files. (filetype "yara"): Name: yarac Maintainer: Albert Song -"yarac" is the official compiler for YARA rule files. -See the project's page at GitHub for more information: +"yarac" is the official compiler for YARA rule files. See the project's page +at GitHub for more information: https://github.com/VirusTotal/yara @@ -7655,9 +7655,10 @@ accepts the standard options described at |syntastic-config-makeprg|. Note~ -You probably also need to set |filetype| for YARA rule files to "yara". -You can do that with an `:autocmd`: > - autocmd BufNewFile,BufRead *.yar,*.yara set filetype=yara syntax=yara +You probably also need a plugin to set |filetype| for YARA rule files, such as +"vim-yara": + + https://github.com/yaunj/vim-yara ============================================================================== SYNTAX CHECKERS FOR Z80 *syntastic-checkers-z80* diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 816756ed..f25a1866 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.8.0-97' +let g:_SYNTASTIC_VERSION = '3.8.0-100' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/yara/yara.vim b/syntax_checkers/yara/yara.vim index a70c1928..224a3343 100644 --- a/syntax_checkers/yara/yara.vim +++ b/syntax_checkers/yara/yara.vim @@ -1,6 +1,6 @@ "============================================================================ "File: yara.vim -"Description: Syntax checking plugin for syntastic.vim +"Description: Syntax checking plugin for syntastic "Maintainer: Albert Song (albb@teamt5.org) "License: This program is free software. It comes without any warranty, " 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 errorformat = - \ '%f(%l): %trror: %m,' . - \ '%f(%l): %tarning: %m,'. - \ '%f(%l): %m' + \ '%f(%l): %trror: %m,' . + \ '%f(%l): %tarning: %m,' . + \ '%f(%l): %m' return SyntasticMake({ - \ 'makeprg': makeprg, - \ 'errorformat': errorformat }) + \ 'makeprg': makeprg, + \ 'errorformat': errorformat }) endfunction call g:SyntasticRegistry.CreateAndRegisterChecker({