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 9bd19720..76fbe470 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 = shellescape(fnamemodify(bufname(a:buffer), ':p:h'))
+ let l:directory = ale#Escape(fnamemodify(bufname(a:buffer), ':p:h'))
return 'nim check --path:' . l:directory
\ . ' --threads:on --verbosity:0 --colors:off --listFullPaths %t'