polymode / poly-org

Polymode for org-mode
57 stars 12 forks source link

Autocomplete broken in anaconda-mode blocks #12

Open r-zip opened 5 years ago

r-zip commented 5 years ago

Autocompletion fails with a timeout if I'm editing in a poly-org block.

I'm using anaconda-mode, company-mode, and company-anaconda. The combination works as expected in normal source buffers.

vspinu commented 5 years ago

The way those packages work is by sending the entire buffer to the completion backend. The best one can do is to send only the relevant portions, but that will break if you have dependent code in other chunks. I will have a look time permitting but this is surely not high priority, sorry.