summaryrefslogtreecommitdiff
path: root/modules/deoplete.vim
diff options
context:
space:
mode:
Diffstat (limited to 'modules/deoplete.vim')
-rw-r--r--modules/deoplete.vim8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/deoplete.vim b/modules/deoplete.vim
index 7498329d..4023f5fc 100644
--- a/modules/deoplete.vim
+++ b/modules/deoplete.vim
@@ -26,9 +26,11 @@ inoremap <silent><expr><S-TAB> pumvisible() ? "\<C-p>" : "\<TAB>"
inoremap <expr><BS> deoplete#smart_close_popup()."\<C-h>"
-call deoplete#custom#option('sources', {
- \ 'python': ['file', 'LanguageClient', 'neosnippet'],
- \ })
+" Only get completion candidates from these
+"call deoplete#custom#option('sources', {
+ "\ 'python': ['file', 'LanguageClient', 'neosnippet'],
+ "\ })
+
" Sort matches alphabetically
call deoplete#custom#source('_', 'sorters', ['sorter_word'])
" Disable shorter or equal length matches