mirror of
https://github.com/dense-analysis/ale.git
synced 2026-11-17 09:20:41 +08:00
Compare commits
2
Commits
add538213f
...
6433d31f47
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6433d31f47 | ||
|
|
f3f0b05240 |
No files matched your search
@@ -706,7 +706,7 @@ function! ale#lsp#Send(conn_id, message) abort
|
||||
throw 'LSP server not initialized yet!'
|
||||
endif
|
||||
|
||||
if g:ale_use_neovim_lsp_api
|
||||
if g:ale_use_neovim_lsp_api && !l:conn.is_tsserver
|
||||
return luaeval('require("ale.lsp").send_message(_A)', {
|
||||
\ 'client_id': l:conn.client_id,
|
||||
\ 'is_notification': a:message[0] == 1 ? v:true : v:false,
|
||||
|
||||
+3
-3
@@ -1192,13 +1192,13 @@ g:ale_detail_to_floating_preview
|
||||
*b:ale_disable_lsp*
|
||||
disable_lsp
|
||||
g:ale_disable_lsp
|
||||
Type: |Number| OR |String|
|
||||
Type: |Boolean| OR |Number| OR |String|
|
||||
Default: `'auto'`
|
||||
|
||||
When this option is set to `'auto'`, ALE will automatically disable linters
|
||||
that it detects as having already been configured with the `nvim-lspconfig`
|
||||
plugin. When this option is set to `1`, ALE ignores all linters powered by
|
||||
LSP, and also `tsserver`.
|
||||
plugin. When this option is set to `true` or `1`, ALE ignores all linters
|
||||
powered by LSP, and also `tsserver`.
|
||||
|
||||
Any linters that are disabled will also not be usable for LSP functionality
|
||||
other than just linting.
|
||||
|
||||
Reference in new issue
Block a user