Increase the default maximum completion suggestions to a more useful but safe level, and filter before requesting details, which is faster

This commit is contained in:
w0rp 2017-08-18 22:34:18 +01:00
parent 8cc7cd3aa1
commit be4347084e
4 changed files with 104 additions and 18 deletions

View file

@ -190,7 +190,7 @@ call ale#Set('type_map', {})
" Enable automatic completion with LSP servers and tsserver
call ale#Set('completion_enabled', 0)
call ale#Set('completion_delay', 100)
call ale#Set('completion_max_suggestions', 20)
call ale#Set('completion_max_suggestions', 50)
function! ALEInitAuGroups() abort
" This value used to be a Boolean as a Number, and is now a String.