diff options
Diffstat (limited to 'init.vim')
-rw-r--r-- | init.vim | 31 |
1 files changed, 17 insertions, 14 deletions
@@ -1,5 +1,4 @@ | |||
1 | exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' | 1 | exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' |
2 | |||
3 | set packpath+=pack/neovim | 2 | set 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() | ||
60 | augroup END | 63 | augroup END |
61 | 64 | ||
62 | "======================================================================================================================= | 65 | "======================================================================================================================= |