summaryrefslogtreecommitdiff
path: root/ale_linters/nim/nimcheck.vim
diff options
context:
space:
mode:
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 02a7c931..9bd19720 100644
--- a/ale_linters/nim/nimcheck.vim
+++ b/ale_linters/nim/nimcheck.vim
@@ -44,7 +44,7 @@ endfunction
function! ale_linters#nim#nimcheck#GetCommand(buffer) abort
- let l:directory = fnameescape(fnamemodify(bufname(a:buffer), ':p:h'))
+ let l:directory = shellescape(fnamemodify(bufname(a:buffer), ':p:h'))
return 'nim check --path:' . l:directory
\ . ' --threads:on --verbosity:0 --colors:off --listFullPaths %t'