Optimize ale#completion#Filter when prefix is ""

This commit is contained in:
Jerko Steiner
2019-01-08 15:09:59 +01:00
parent 9bcf8a2336
commit b1b05e6e66
4 changed files with 42 additions and 27 deletions

View File

@@ -204,7 +204,7 @@ command! -bar ALEDocumentation :call ale#hover#ShowDocumentationAtCursor()
" Search for appearances of a symbol, such as a type name or function name.
command! -nargs=1 ALESymbolSearch :call ale#symbol#Search(<q-args>)
command! -bar ALEComplete :call ale#completion#AlwaysGetCompletions()
command! -bar ALEComplete :call ale#completion#AlwaysGetCompletions(0)
" <Plug> mappings for commands
nnoremap <silent> <Plug>(ale_previous) :ALEPrevious<Return>