summaryrefslogtreecommitdiff
path: root/modules/deoplete.vim
diff options
context:
space:
mode:
authorChris <[email protected]>2020-04-02 14:41:26 -0400
committerChris <[email protected]>2020-04-02 14:41:26 -0400
commitc24b07132d2dbe827d29f395a15370e24c6c5235 (patch)
treeedc44b81c3b36ff9fe1bd2dbdc25bc43f8262f1c /modules/deoplete.vim
parent2df64a787b1cd437c7045a0ab748976776611238 (diff)
auto push
Diffstat (limited to 'modules/deoplete.vim')
-rw-r--r--modules/deoplete.vim37
1 files changed, 0 insertions, 37 deletions
diff --git a/modules/deoplete.vim b/modules/deoplete.vim
deleted file mode 100644
index 4023f5fc..00000000
--- a/modules/deoplete.vim
+++ /dev/null
@@ -1,37 +0,0 @@
-" Enable deoplete
-let g:deoplete#enable_at_startup = 1
-let g:deoplete#complete_method = "omnifunc"
-let g:deoplete#auto_complete_delay = 0
-""let g:deoplete#max_menu_width = 10
-" let g:deoplete#ignore_sources = ['buffer']
-" Close previews immediately
-autocmd CompleteDone * silent! pclose!
-
-"better nav for omnicomplete
-inoremap <expr> <c-j> ("\<C-n>")
-inoremap <expr> <c-k> ("\<C-p>")
-
-"<TAB>: completion.
-""inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
-"use TAB as the mapping
-inoremap <silent><expr> <TAB>
- \ pumvisible() ? "\<C-n>" :
- \ <SID>check_back_space() ? "\<TAB>" :
- \ deoplete#mappings#manual_complete()
-function! s:check_back_space() abort ""
- let col = col('.') - 1
- return !col || getline('.')[col - 1] =~ '\s'
-endfunction ""
-inoremap <silent><expr><S-TAB> pumvisible() ? "\<C-p>" : "\<TAB>"
-inoremap <expr><BS> deoplete#smart_close_popup()."\<C-h>"
-
-
-" 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
-call deoplete#custom#source('_', 'matchers', ['matcher_fuzzy', 'matcher_length'])