From 3d83f87721b743859aea0680cbed2e806899daf1 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Tue, 10 Apr 2018 09:22:42 -0700 Subject: [PATCH] Add jedi to neovim --- neovim/init.vim | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/neovim/init.vim b/neovim/init.vim index 96370a6..95a47ea 100644 --- a/neovim/init.vim +++ b/neovim/init.vim @@ -15,6 +15,7 @@ if dein#load_state('~/.config/nvim/plugins') call dein#add('Shougo/deoplete.nvim') call dein#add('Shougo/neosnippet.vim') call dein#add('airblade/vim-rooter') + call dein#add('davidhalter/jedi-vim') call dein#add('fatih/vim-go') call dein#add('kana/vim-textobj-user') call dein#add('glts/vim-textobj-comment') @@ -30,6 +31,7 @@ if dein#load_state('~/.config/nvim/plugins') call dein#add('vim-python/python-syntax') call dein#add('w0rp/ale') call dein#add('zchee/deoplete-go', {'build': 'make'}) + call dein#add('zchee/deoplete-jedi') call dein#end() call dein#save_state() @@ -165,6 +167,13 @@ noremap m :NERDTreeFind let g:python_highlight_all = 1 +let g:jedi#completions_enabled = 0 +let g:jedi#force_py_version = 3 +let g:jedi#popup_on_dot = 0 +let g:jedi#show_call_signatures = "0" +let g:jedi#rename_command = "" +let g:jedi#usages_command = "" + let g:go_highlight_build_constraints = 1 let g:go_highlight_interfaces = 1 let g:go_highlight_functions = 1