aboutsummaryrefslogtreecommitdiff
path: root/init.vim
diff options
context:
space:
mode:
authorMax Christian Pohle2020-07-08 18:00:35 +0200
committerMax Christian Pohle2020-07-08 18:00:35 +0200
commitac11adf0b76ac3a07b5c2891aad9f4da040423ad (patch)
tree1080d0d89e5bd757ff19d56f192e65e4718cf647 /init.vim
parent36b4b477745e9f5275e0115f57df6a067c71b856 (diff)
parentb9591e68f0a631dd17f54291ca277aff5a8e9f3b (diff)
downloadvim-ac11adf0b76ac3a07b5c2891aad9f4da040423ad.tar.bz2
vim-ac11adf0b76ac3a07b5c2891aad9f4da040423ad.zip
Merge branch 'staging2' into staging
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"=======================================================================================================================
..