nvim: init.vim: Add jedi-vim
Show Pydocs feature in deoplete jedi does not seem to consider the complete word. For example, os.path.splitext placing cursor on splitext seems to give an error. Same works in jedi-vim. Do not use completions from jedi-vim though.
This commit is contained in:
parent
e08b4113f0
commit
58e5137876
1 changed files with 21 additions and 0 deletions
|
@ -63,6 +63,7 @@ Plug 'LnL7/vim-nix', { 'for': 'nix' }
|
|||
" For autocompletion
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
" For Python
|
||||
Plug 'davidhalter/jedi-vim', { 'for': 'python' }
|
||||
Plug 'zchee/deoplete-jedi', { 'for': 'python' }
|
||||
Plug 'numirias/semshi', { 'for': 'python', 'do': ':UpdateRemotePlugins' }
|
||||
" Autocomplete for Rust
|
||||
|
@ -600,6 +601,26 @@ let g:hardtime_ignore_quickfix = 1
|
|||
let g:hardtime_maxcount = 3
|
||||
let g:hardtime_allow_different_key = 1
|
||||
|
||||
let g:jedi#goto_command = "<Leader>jt"
|
||||
let g:jedi#goto_assignments_command = "<Leader>ja"
|
||||
let g:jedi#goto_definitions_command = "<Leader>jg"
|
||||
let g:jedi#documentation_command = "<Leader>jd"
|
||||
let g:jedi#usages_command = "<Leader>ju"
|
||||
let g:jedi#completions_command = "<Tab>"
|
||||
let g:jedi#rename_command = "<Leader>jr"
|
||||
|
||||
let g:jedi#auto_initialization = 1
|
||||
let g:jedi#auto_vim_configuration = 0
|
||||
let g:jedi#use_tabs_not_buffers = 1
|
||||
let g:jedi#popup_on_dot = 1
|
||||
let g:jedi#popup_select_first = 0
|
||||
let g:jedi#smart_auto_mappings = 0
|
||||
let g:jedi#show_call_signatures = "1"
|
||||
let g:jedi#show_call_signatures_delay = 0
|
||||
let g:jedi#show_call_signatures_modes = 'i'
|
||||
let g:jedi#enable_speed_debugging = 0
|
||||
let g:jedi#completions_enabled = 0
|
||||
|
||||
" ----------------------------- Functions ------------------------------------
|
||||
" For CScope and Quickfix
|
||||
" https://medium.com/@lakshmankumar12/quickfix-and-location-list-in-vim-ca0292ac894d
|
||||
|
|
Loading…
Reference in a new issue