From 26038cc19d1a4f551bf12e03b99c4d867bea9379 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Tue, 9 Aug 2016 09:39:49 +0300 Subject: [PATCH] README: update the recipe for config files. --- README.markdown | 2 +- plugin/syntastic.vim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 19e986ef..973f6306 100644 --- a/README.markdown +++ b/README.markdown @@ -456,7 +456,7 @@ 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 . ' ' . shellescape(cfg) : '' endfunction autocmd FileType javascript let b:syntastic_javascript_jscs_args = diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 441490d5..717134e3 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-177' +let g:_SYNTASTIC_VERSION = '3.7.0-178' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1