Comments (6)
I have update jedi to the latest.
#255
Please use the latest deoplete-jedi.
I think it is fixed on the latest.
from deoplete-jedi.
@Shougo Unfortunately the problem persists after I updated it to the latest.
from deoplete-jedi.
OK. I get it.
But please provide the real minimal vimrc.
It is the real minimal vimrc.
set rtp+=~/work/deoplete.nvim/
set rtp+=~/src/deoplete-jedi
let g:deoplete#enable_at_startup = 1
let g:deoplete#sources#jedi#show_docstring = 1
call deoplete#custom#option('auto_complete_popup', 'manual')
call deoplete#custom#option('min_pattern_length', 0)
from deoplete-jedi.
This is jedi's issue.
Please create the new issue in jedi issues.
https://github.com/davidhalter/jedi/issues
And I have found the reason.
The patch fixes the problem for me.
diff --git a/jedi/api/completion.py b/jedi/api/completion.py
index f8853cdf..c8a2d0c4 100644
--- a/jedi/api/completion.py
+++ b/jedi/api/completion.py
@@ -534,6 +534,8 @@ def _extract_string_while_in_string(leaf, position):
if leaf.line == position[0]:
kwargs['endpos'] = position[1] - leaf.column
match = _string_start.match(leaf.value, **kwargs)
+ if not match:
+ return None, None, None
start = match.group(0)
if leaf.line == position[0] and position[1] < leaf.column + match.end():
return None, None, None
from deoplete-jedi.
Reproduction:
>>> import jedi
>>> jedi.Script("'a' 'b'").complete(column=4)
from deoplete-jedi.
Fixed in the latest version.
from deoplete-jedi.
Related Issues (20)
- Python completion sometimes produce noise HOT 2
- deoplete-jedi fails to load on vim + pynvim 0.4.0 HOT 6
- Deoplete-jedi causes vim to crash when editing a specific file HOT 4
- Option to disable/remove advanced/private members like __init__() HOT 1
- Add call signatures HOT 1
- broken with pandas completion HOT 10
- long stacktraces when completing docstring HOT 16
- no module named 'deoplete.base' HOT 3
- Should `which pyenv` return a shell function in Fish? HOT 3
- Latest version of jedi crash on Windows HOT 8
- Changing the kind/type of completion-matches HOT 8
- Dont add parameter-information to functions HOT 6
- PosixPath object has not attribute 'endswidth' HOT 1
- Error from jedi: __init__() got an unexpected keyword argument 'code' HOT 4
- How I can turn off preview windows HOT 1
- deoplete-jedi crashes when trying to complete pandas DataFrame attributes HOT 3
- How to set autocomplete key to TAB? HOT 5
- Preview window doesn't show method signature HOT 5
- python versions for virtualenv HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deoplete-jedi.