README: update the recipe for config files.

This commit is contained in:
LCD 47 2016-07-11 22:27:37 +03:00
parent 87f3e80b44
commit 9bec49b7f9
2 changed files with 3 additions and 3 deletions

View File

@ -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('<amatch>:p:h', 1))
```
<a name="faqbdelete"></a>

View File

@ -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