mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-09 14:55:52 +08:00
#540 Fix shell escaping pretty much everywhere
This commit is contained in:
1 parent
32f21751f4
commit
8e4bac54a6
37 files changed
+85
-87
No files matched your search
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user