summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-04 13:35:02 +0100
committerw0rp <devw0rp@gmail.com>2017-08-04 13:35:02 +0100
commit9ac74c44fea3e1529f4d6a4cd46a5efa20ec64f4 (patch)
treec92271bc327a302ca15e51113cc699cd1d8e335d /autoload
parentd1023e9c2ced63b487409b704ac611dd7efb183b (diff)
downloadale-9ac74c44fea3e1529f4d6a4cd46a5efa20ec64f4.zip
Tell Vim omnicompletion that tsserver matches are case-insensitive
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/completion.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/completion.vim b/autoload/ale/completion.vim
index 3eeb6173..66c20565 100644
--- a/autoload/ale/completion.vim
+++ b/autoload/ale/completion.vim
@@ -162,6 +162,7 @@ function! ale#completion#ParseTSServerCompletionEntryDetails(response) abort
call add(l:results, {
\ 'word': l:suggestion.name,
\ 'kind': l:kind,
+ \ 'icase': 1,
\ 'menu': join(l:displayParts, ''),
\ 'info': join(l:documentationParts, ''),
\})