Questions tagged [jedi-vim]

jedi-vim is a is a VIM binding to the autocompletion library Jedi.

74 questions
1
vote
0 answers

How to prevent over-eager Jedi autocompletion in Vim

I use Vim and Jedi to code Python and the autocompletion fails to detect some member objects with the recordclass and argparse packages and makes over-eager suggestions. Consider this case: from recordclass import recodclass class…
Tuetschek
  • 408
  • 5
  • 8
1
vote
0 answers

How do I disable auto triggers of jedi autocompletion on certain characters in vim?

The jedi pop up doesn't get triggered on space ' '. But it get triggered on '=' which is useless and distracting and autocomplete dialog covers the screen. How can I stop it from getting triggered on '=' ? I use zchee/deoplete-jedi and…
druk
  • 553
  • 6
  • 16
1
vote
3 answers

Autocomplete blender script using jedi-vim

I recently added jedi-vim to my plug-in arsenal. It works just fine for the standard modules, but is unable to find bpy and bmesh stuff. So in the blender console I took the output of print(sys.path) and added it to a vimscript function in a .lvimrc…
John
  • 530
  • 5
  • 19
1
vote
1 answer

respect __all__ variable with jedi-vim

Is it possible to configure jedi-vim to respect __all__ variable inside a module (like __init__.py)? So, when I use autocomplete on an imported package, anything inside which is not listed in the __all__, and is not a special variable/method, is…
jligeza
  • 4,544
  • 6
  • 23
  • 31
1
vote
1 answer

jedi-vim inconsistent with jedi output

I am using jedi-vim, and after typing the following, I get a "Pattern not found" error: import numpy numpy. However, if I run the following python script, I get a long list of completions: import jedi print(jedi.Script('import…
Davis Yoshida
  • 1,757
  • 1
  • 10
  • 24
1
vote
0 answers

Jedi-vim throwing error unboundlocalerror: local variable 'module_path' when I am using go to definition for my python code on OSX Yosemite

This is specially a problem when I am trying to find a function definition which is not present in the current file but present in the other file... This is the error print that I see while trying to use Go To Definition I am using vim 7.4…
Atul
  • 11
  • 1
1
vote
1 answer

vim map confliction between vimrc and plugin

I'm using jedi-vim. It defines key map n as some commands while I also defines it in .vimrc file like following. nnoremap n But when I typed n in python file, jedi#usages() command was executed. :map n…
fx-kirin
  • 1,906
  • 1
  • 20
  • 33
1
vote
1 answer

jedi-vim: modules from non-standard paths

I have different local python installations that were built with hashdist. On the other hand, vim is installed system-wide (ArchLinux) referencing the system's python3. I would like to use jedi's autocompletion for packages of one isolated python…
killozap
  • 33
  • 7
1
vote
1 answer

Jedi-vim automatically insert only matching option (need to disable it)

Problem is when jedi-vim finds only one match for autocomplete it automatically insert this match. I need somehow disable this feature. What I've already tried: let g:jedi#smart_auto_mappings = 0, but it only disables auto from ... import ...…
valignatev
  • 6,020
  • 8
  • 37
  • 61
1
vote
1 answer

Get return type of a suggested function in Jedi

I'm trying to improve the way python completions are displayed with YouCompleteMe (which uses Jedi). Currently it just shows the completion, and the "full path": capitalize function: __builtin__.str.capitalize center function:…
jdm
  • 9,470
  • 12
  • 58
  • 110
1
vote
1 answer

Annoying does not work with YouCompleteMe (YCM)

I setup YCM on a linux system and I called vim through gui-terminal Although the YCM works fine in vim insert mode and it opens the omni menu but as soon as I press or vim enters paste mode and it does not triggers YCM. None of the following…
Sina Sou
  • 159
  • 1
  • 8
1
vote
0 answers

Jedi-VIM: Popup appears just in some cases

I installed several plugins to create a kind of python-IDE with vim 7.3 on Mac (Yosemite). See my .vimrc for a list of plugins - settings: set nocompatible " be iMproved, required filetype off " required " set the…
Markus
  • 55
  • 6
1
vote
1 answer

GVim - Python Jedi glitches

While using the amazing Python Jedi plugin from GVim, I have started noticing some odd behavior with function completion tips popup (not the autocomplete as far as I can tell). Firstly, while the function argument helper popup is visible, GVim input…
user2097818
  • 1,821
  • 3
  • 16
  • 34
1
vote
1 answer

Odd Characters Displayed in Function Arguments Tooltips in Jedi-Vim

I'm trying out the currently available master branch of Jedi-Vim and the Jedi library with gVim 7.4 (Windows), +python is available and working. I have installed Jedi-Vim with Pathogen. No other plugins are installed, I have Jedi-Vim and Pathogen…
Jim
  • 111
  • 3
1
vote
1 answer

jedi-vim auto completion after first letter

Is there a way to make jedi-vim automatically start the completion after typing any letter without pressing < C-Space >? Is it maybe possible to bind let g:jedi#completions_command = "< C-Space >" command to every single letter while keeping their…
user3888540
  • 105
  • 1
  • 1
  • 3