jedi-vim + supertab does not complete variables names?
See original GitHub issuePlease bear with me if this is a newbie question — I am quite a newbie with jedi-vim.
I have this on my .vimrc
:
Plug 'ervandew/supertab'
let g:SuperTabDefaultCompletionType = "context"
let g:SuperTabContextDefaultCompletionType = "<c-x><c-o>"
"let g:SuperTabRetainCompletionDuration = "session"
let g:SuperTabLongestEnhanced = 1
let g:SuperTabCrMapping = 0
augroup Supertab
autocmd!
autocmd FileType text call SuperTabSetDefaultCompletionType("<c-n>")
autocmd FileType tex call SuperTabSetDefaultCompletionType("<c-n>")
augroup END
"
Plug 'davidhalter/jedi-vim'
let g:jedi#auto_vim_configuration = 0
autocmd FileType python setlocal completeopt-=preview
let g:jedi#show_call_signatures = "2"
and while jedi-vim
works ok for my editing in Python, it never suggest autocompletion on variables. For example, if I have
start_time = -1
if start_
and press TAB
I have a "Omni completion" pattern not found
error. What am I doing wrong?
Commenting out or in let g:jedi#auto_vim_configuration = 0
did not change things.
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
Can't get Jedi's autocompletion on SuperTab
As a simple solution, try adding this line to your vimrc: let g:SuperTabDefaultCompletionType = "context". This will result in the following ...
Read more >Vim Supertab: Pressing tab after dot doesn't complete
I am writing a simple line of java Integer.toHexString . This has appeared in other parts of the file. If I press tab...
Read more >Vim: Supertab not working - Ask Ubuntu
You need to use omnifunc to provide the completion. It will pop up a menu to allow for completion. More information here.
Read more >SuperTab - Do all your insert-mode completion with Tab. - Vim
package script version date Vim version user
supertab.vmb 2.1 2014‑04‑09 7.0 Eric Van Dewoestine
supertab.vmb 2.0 2012‑06‑01 7.0 Eric Van Dewoestine
supertab.vba 1.6 2011‑07‑20 7.0 Eric...
Read more >leger / jedi-vim - Explore · GitLab
If your VIM does not meet these requirements, the parameter recommendation list may not appear when you type an open bracket after a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok — found it. I had a remnant autocmd around I do not know from where. Thanks a lot …
That is Vim’s builtin keyword completion, which is different from omni-completion.