mirror of
https://github.com/dense-analysis/ale.git
synced 2026-11-01 18:12:16 +08:00
Add support for checking Haskell code via a wrapper script which can be used for other tools, and fix a readline problem with the DMD wrapper script.
This commit is contained in:
1 parent
e0fc0c7bb6
commit
57ef2c9833
5 files changed
+107
-4
No files matched your search
@@ -0,0 +1,18 @@
|
||||
if exists('g:loaded_ale_util')
|
||||
finish
|
||||
endif
|
||||
|
||||
let g:loaded_ale_util = 1
|
||||
|
||||
function! s:FindWrapperScript()
|
||||
for parent in split(&runtimepath, ',')
|
||||
" Expand the path to deal with ~ issues.
|
||||
let path = expand(parent . '/' . 'stdin-wrapper')
|
||||
|
||||
if filereadable(path)
|
||||
return path
|
||||
endif
|
||||
endfor
|
||||
endfunction
|
||||
|
||||
let g:ale#util#stdin_wrapper = s:FindWrapperScript()
|
||||
Reference in new issue
Block a user