summaryrefslogtreecommitdiff
path: root/ale_linters/nim/nimcheck.vim
diff options
context:
space:
mode:
authorMathijs Saey <mathijssaey@gmail.com>2017-04-07 16:42:46 +0200
committerw0rp <w0rp@users.noreply.github.com>2017-04-07 15:42:46 +0100
commit434283ed1ae1cdcef40207134eb3fec63fac7f9b (patch)
tree14c19cc4be71f1b0ba6109fa096130f55ea41aaf /ale_linters/nim/nimcheck.vim
parentd28d7f732ae5c5017c7e4c2497a744a781e48dab (diff)
downloadale-434283ed1ae1cdcef40207134eb3fec63fac7f9b.zip
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.
Diffstat (limited to 'ale_linters/nim/nimcheck.vim')
-rw-r--r--ale_linters/nim/nimcheck.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/nim/nimcheck.vim b/ale_linters/nim/nimcheck.vim
index 0c1373e9..ed6a705f 100644
--- a/ale_linters/nim/nimcheck.vim
+++ b/ale_linters/nim/nimcheck.vim
@@ -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