mirror of
https://github.com/dense-analysis/ale
synced 2024-12-26 08:02:25 +00:00
8c591996a8
* feat(deno): move init options to handlers * feat(deno): add deno lsp support for js files * feat(deno): use default map option * feat(docs): add deno import map option * feat(deno): add tests for importMap option * fix(deno): use full path in importMap * feat(deno): remove deno as linter for js, separate PR * fix(deno): test for executable * fix(deno-test): include filename to simplify function
21 lines
474 B
Plaintext
21 lines
474 B
Plaintext
Before:
|
|
Save g:ale_deno_executable
|
|
runtime autoload/ale/handlers/deno.vim
|
|
|
|
After:
|
|
unlet! b:ale_deno_executable
|
|
|
|
call ale#linter#Reset()
|
|
|
|
Execute(Default executable should be detected correctly):
|
|
AssertEqual
|
|
\ 'deno',
|
|
\ ale#handlers#deno#GetExecutable(bufnr(''))
|
|
|
|
Execute(User specified executable should override default):
|
|
let g:ale_deno_executable = '/path/to/deno-bin'
|
|
AssertEqual
|
|
\ '/path/to/deno-bin',
|
|
\ ale#handlers#deno#GetExecutable(bufnr(''))
|
|
|