aboutsummaryrefslogtreecommitdiff
path: root/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'init.vim')
-rw-r--r--init.vim31
1 files changed, 17 insertions, 14 deletions
diff --git a/init.vim b/init.vim
index 402f7a6..40894af 100644
--- a/init.vim
+++ b/init.vim
@@ -1,5 +1,4 @@
1exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' 1exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common'
2
3set packpath+=pack/neovim 2set packpath+=pack/neovim
4 3
5"======================================================================================================================= 4"=======================================================================================================================
@@ -41,22 +40,26 @@ augroup DEOPLETE
41 \ }, 40 \ },
42 \ } 41 \ }
43 42
44 packadd deoplete.nvim 43 " packadd deoplete.nvim
45 packadd LanguageClient-neovim 44 " packadd LanguageClient-neovim
46 packadd echodoc.vim 45 " packadd echodoc.vim
47 46
48 let g:deoplete#sources#clang#include_default_arguments=1 47 let g:deoplete#sources#clang#include_default_arguments=1
49 " suggestions in alphabetic order 48 " suggestions in alphabetic order
50 call deoplete#custom#source('_', 'sorters', ['sorter_word']) 49
51 call deoplete#custom#filter('converter_reorder_attr', 50 function! ConfigureDeoplete()
52 \ 'attrs_order', { 51 call deoplete#custom#source('_', 'sorters', ['sorter_word'])
53 \ '_': { 52 call deoplete#custom#filter('converter_reorder_attr',
54 \ 'kind': [ 53 \ 'attrs_order', {
55 \ 'Function', 54 \ '_': {
56 \ 'Property' 55 \ 'kind': [
57 \ ] 56 \ 'Function',
58 \ }, 57 \ 'Property'
59 \}) 58 \ ]
59 \ },
60 \})
61 endfunction
62 autocmd VimEnter * call ConfigureDeoplete()
60augroup END 63augroup END
61 64
62"======================================================================================================================= 65"=======================================================================================================================
..