summaryrefslogtreecommitdiff
path: root/autoload/ale/completion.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ale/completion.vim')
-rw-r--r--autoload/ale/completion.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/ale/completion.vim b/autoload/ale/completion.vim
index c15a4867..c3139da5 100644
--- a/autoload/ale/completion.vim
+++ b/autoload/ale/completion.vim
@@ -296,6 +296,10 @@ function! ale#completion#ParseLSPCompletions(response) abort
\})
endfor
+ if has_key(l:info, 'prefix')
+ return ale#completion#Filter(l:buffer, l:results, l:info.prefix)
+ endif
+
return l:results
endfunction