davidhalter / jedi-vim

Using the jedi autocompletion library for VIM.
MIT License
5.27k stars 370 forks source link

usages only show one occurence of the usage #1034

Closed FractalWire closed 3 years ago

FractalWire commented 3 years ago

Issue

When I invoke usages on the symbol under the cursor, I only get two results:

Output of “:verbose JediDebugInfo”

Jedi-vim debug information

jedi-vim version
Global Python

Using Python version 3 to access Jedi.

Jedi
Jedi environment: <Environment: 2.7.18 in /home/ogr/git/yescapa/website_venv/env2.7>
Known environments
Settings
g:jedi#documentation_command = '<leader>?' (default: 'K')
g:jedi#rename_command = '<leader>c' (default: '<leader>r')
g:jedi#goto_assignments_command = '<leader>a' (default: '<leader>g')
g:jedi#show_call_signature = 2 (default: '-')
g:jedi#usages_command = '<leader><F12>' (default: '<leader>n')
g:jedi#goto_command = '<F12>' (default: '<leader>d')
g:jedi#completions_enabled = 0 (default: 1)

  omnifunc=python3complete#Complete
        Last set from /usr/share/nvim/runtime/ftplugin/python.vim line 41
  completeopt=menu
        Last set from ~/.config/nvim/init.vim line 170
davidhalter commented 3 years ago

This is not enough information. We need a reproduction to fix it.