Update nimcheck.vim (#451)

Added a '--threads:on' switch to the nim check command so that it doesn't produce errors when using one of the various modules that require threads.
This commit is contained in:
Mathijs Saey 2017-04-07 16:42:46 +02:00 committed by w0rp
parent d28d7f732a
commit 434283ed1a

View File

@ -52,7 +52,7 @@ endfunction
function! ale_linters#nim#nimcheck#GetCommand(buffer)
return 'nim check --path:' . fnameescape(fnamemodify(bufname(a:buffer), ':p:h')) . ' --verbosity:0 --colors:off --listFullPaths %t'
return 'nim check --path:' . fnameescape(fnamemodify(bufname(a:buffer), ':p:h')) . '--threads:on --verbosity:0 --colors:off --listFullPaths %t'
endfunction