mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-09 23:05:51 +08:00
Test global problems and imported module errors
This commit is contained in:
1 parent
d40f447931
commit
2f40da76e6
3 files changed
+67
-20
No files matched your search
@@ -1,11 +1,11 @@
|
||||
" Author: buffalocoder - https://github.com/buffalocoder, soywod - https://github.com/soywod
|
||||
" Description: Elm linting in Ale. Closely follows the Syntastic checker in https://github.com/ElmCast/elm-vim.
|
||||
|
||||
call ale#Set('elm_executable', 'elm')
|
||||
call ale#Set('elm_use_global', get(g:, 'ale_use_global_executables', 0))
|
||||
call ale#Set('elm_make_executable', 'elm')
|
||||
call ale#Set('elm_make_use_global', get(g:, 'ale_use_global_executables', 0))
|
||||
|
||||
function! ale_linters#elm#make#GetExecutable(buffer) abort
|
||||
return ale#node#FindExecutable(a:buffer, 'elm', [
|
||||
return ale#node#FindExecutable(a:buffer, 'elm_make', [
|
||||
\ 'node_modules/.bin/elm',
|
||||
\])
|
||||
endfunction
|
||||
|
||||
Reference in new issue
Block a user