diff options
author | Max Christian Pohle | 2020-07-08 18:00:35 +0200 |
---|---|---|
committer | Max Christian Pohle | 2020-07-08 18:00:35 +0200 |
commit | ac11adf0b76ac3a07b5c2891aad9f4da040423ad (patch) | |
tree | 1080d0d89e5bd757ff19d56f192e65e4718cf647 /init.vim | |
parent | 36b4b477745e9f5275e0115f57df6a067c71b856 (diff) | |
parent | b9591e68f0a631dd17f54291ca277aff5a8e9f3b (diff) | |
download | vim-ac11adf0b76ac3a07b5c2891aad9f4da040423ad.tar.bz2 vim-ac11adf0b76ac3a07b5c2891aad9f4da040423ad.zip |
Merge branch 'staging2' into staging
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 | "======================================================================================================================= |