mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
#4607 No conflicts with nvim-lspconfig by default
Default `g:ale_disable_lsp` to a new mode `'auto'` by default. With this setting applied, ALE will now check for the presence of nvim-lspconfig and automatically turn off particular LSP linters if already configured via nvim-lspconfig. For users that do not use `nvim-lspconfig`, everything should work as before.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('ansible', 'ansible_language_server')
|
||||
call ale#assert#SetUpLinterTest('ansible', 'language_server')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('elm', 'elm_ls')
|
||||
call ale#assert#SetUpLinterTest('elm', 'ls')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Reference in New Issue
Block a user