Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[help] Is it possible to to use jedi:goto-definition along with company-jedi? #38

Open
avatar-lavventura opened this issue Feb 16, 2021 · 0 comments

Comments

@avatar-lavventura
Copy link

avatar-lavventura commented Feb 16, 2021

I have to use jedi:goto-definition to jump into definitions. But when I do (add-hook 'python-mode-hook 'jedi:setup) jedi's and company's completions are get conflict. Is it possible to to use jedi:goto-definition along with company-jedi?


my setup:

(global-set-key "\C-x\C-j" 'jedi:goto-definition)
(global-set-key "\C-x\C-k" 'jedi:goto-definition-pop-marker)

(defun my/python-mode-hook ()
  (add-to-list 'company-backends 'company-jedi))

(add-hook 'python-mode-hook 'my/python-mode-hook)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant