diff options
author | Dalius Dobravolskas <dalius.dobravolskas@gmail.com> | 2020-10-25 21:58:22 +0200 |
---|---|---|
committer | Dalius Dobravolskas <dalius.dobravolskas@gmail.com> | 2020-11-21 15:49:42 +0200 |
commit | 81d16823a7ff5972d2a352831053f3cd6922b6c3 (patch) | |
tree | 819cfb73b6677e0b62ac94cec5aa00491ad3f0cb /autoload | |
parent | 17c0c3c731ddf543161195fa55b73721a3bf490d (diff) | |
download | ale-81d16823a7ff5972d2a352831053f3cd6922b6c3.zip |
Settings to control suggestions.
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/lsp_linter.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/lsp_linter.vim b/autoload/ale/lsp_linter.vim index 6c286f9c..628dde78 100644 --- a/autoload/ale/lsp_linter.vim +++ b/autoload/ale/lsp_linter.vim @@ -159,6 +159,7 @@ function! ale#lsp_linter#HandleLSPResponse(conn_id, response) abort call s:HandleTSServerDiagnostics(a:response, 'syntax') elseif get(a:response, 'type', '') is# 'event' \&& get(a:response, 'event', '') is# 'suggestionDiag' + \&& get(g:, 'ale_lsp_suggestions', '1') == 1 call s:HandleTSServerDiagnostics(a:response, 'suggestion') endif endfunction |