From 9bec49b7f95f02d1e0e51813b471065fa021ceef Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Mon, 11 Jul 2016 22:27:37 +0300 Subject: [PATCH] README: update the recipe for config files. --- README.markdown | 4 ++-- plugin/syntastic.vim | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index 7b7f621f..9e82658c 100644 --- a/README.markdown +++ b/README.markdown @@ -447,11 +447,11 @@ For example for `jscs`: ```vim function! FindConfig(prefix, what, where) let cfg = findfile(a:what, escape(a:where, ' ') . ';') - return cfg !=# '' ? a:prefix . ' ' . cfg : '' + return cfg !=# '' ? ' ' . a:prefix . ' ' . cfg : '' endfunction autocmd FileType javascript let b:syntastic_javascript_jscs_args = - \ get(g:, 'syntastic_javascript_jscs_args', '') . ' ' . + \ get(g:, 'syntastic_javascript_jscs_args', '') . \ FindConfig('-c', '.jscsrc', expand(':p:h', 1)) ``` diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index c9943bce..b78d43e6 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.7.0-160' +let g:_SYNTASTIC_VERSION = '3.7.0-161' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1