File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -77,15 +77,11 @@ map <leader>js :call json_format#parse("l")<cr>
77
77
" deoplete
78
78
let g: deoplete #enable_at_startup = 1
79
79
let g: deoplete #ignore_sources = get (g: , ' deoplete#ignore_sources' , {})
80
- call deoplete#custom#source (' ultisnips' , ' rank' , 1000 )
81
80
set hidden
82
81
let g: LanguageClient_diagnosticsEnable = 0
83
- call deoplete#custom#option (' sources' , {
84
- \ ' sh' : []})
85
82
let g: LanguageClient_serverCommands = {
86
83
\ ' python' : [' pyls' ],
87
84
\ }
88
-
89
85
" <TAB>: completion.
90
86
inoremap <expr> <TAB> pumvisible() ? "\<C-n> " : "\<TAB> "
91
87
Original file line number Diff line number Diff line change @@ -299,3 +299,9 @@ if [ "Y$OPT_DICT" == "Yyes" ];then
299
299
END
300
300
fi
301
301
302
+ ! ( grep -F " deoplete#custom#source('ultisnips', 'rank', 1000)" ~ /.config/nvim/init.vim ) && \
303
+ cat >> ~ /.config/nvim/init.vim << END
304
+ call deoplete#custom#source('ultisnips', 'rank', 1000)
305
+ call deoplete#custom#option('sources', {
306
+ \ 'sh': []})
307
+ END
You can’t perform that action at this time.
0 commit comments