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

Code completion in Python chunk not working #442

Closed
oli666 opened this issue Oct 24, 2019 · 2 comments
Closed

Code completion in Python chunk not working #442

oli666 opened this issue Oct 24, 2019 · 2 comments

Comments

@oli666
Copy link

oli666 commented Oct 24, 2019

I am using 'ncm2/ncm2-jedi' to do completion for py files. This works perfectly well. I do not get completion to work though for python chunks within rmd files (The completion works for R chunks).
Having temporarily switched from 'ncm2/ncm2-jedi' to 'davidhalter/jedi' had no effect either.

I have tried after having disabled all plugins except the following:

Plug 'ncm2/ncm2'
Plug 'roxma/nvim-yarp'
Plug 'gaalcaras/ncm-R'
Plug 'jalvesaq/Nvim-R'
Plug 'jalvesaq/R-Vim-runtime'
Plug 'ncm2/ncm2-bufword'
Plug 'ncm2/ncm2-path'
Plug 'w0rp/ale'
Plug 'ncm2/ncm2-ultisnips'
Plug 'ncm2/ncm2-jedi'

Syntax highlighting is working for both, R and Python within chunks.
System: NVIM v0.5.0-dev on Ubuntu 18

@jalvesaq
Copy link
Owner

Perhaps you should report the issue to the developer of ncm2-jedi because I did nothing to make ncm-R deal with Rmd files. This is a feature native to ncm-R:

https://github.com/gaalcaras/ncm-R/blob/master/pythonx/ncm2_subscope_detector/rdocs.py

@oli666
Copy link
Author

oli666 commented Oct 31, 2019

Reported as suggested

@oli666 oli666 closed this as completed Oct 31, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants