From 99eb68e6ca98a2eaabeb1e1eea00b3f59431b9dc Mon Sep 17 00:00:00 2001 From: w0rp Date: Sat, 6 Feb 2021 18:49:42 +0000 Subject: #3362 Disable LSP/tsserver hints/suggestions by default --- plugin/ale.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin') diff --git a/plugin/ale.vim b/plugin/ale.vim index 1735715d..845586be 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -90,6 +90,9 @@ let g:ale_lint_on_filetype_changed = get(g:, 'ale_lint_on_filetype_changed', 1) " This Dictionary configures the default LSP roots for various linters. let g:ale_lsp_root = get(g:, 'ale_lsp_root', {}) +" If set to 1, hints and suggestion from LSP servers and tsserver will be shown. +let g:ale_lsp_suggestions = get(g:, 'ale_lsp_suggestions', 0) + " This flag can be set to 1 to enable automatically fixing files on save. let g:ale_fix_on_save = get(g:, 'ale_fix_on_save', 0) -- cgit v1.2.3