Closed JinYanming closed 4 years ago
and when i try to go to the definition of 'np'. I got a error like this:
[coc.nvim] Jedi error: Traceback (most recent call last):
File "completion.py", line 670, in watch
response = self._process_request(rq)
File "completion.py", line 612, in _process_request
script.goto(line, column, follow_imports=True), request["id"]
File "/usr/local/lib/python3.6/dist-packages/jedi/api/helpers.py", line 486, in wrapper
column, line_len, line, line_string))
ValueError: `column` parameter (8) is not in a valid range (0-2) for line 2 ('np\n').
Press ENTER or type command to continue
and go to the definition of 'numpy' is ok.
@chemzqm
I solved it.
set iskeyword+=.
will make the autocompletion not work.
Question: as my titile discribed,i got a problem about completion about numpy、torch and so on. This is my enviroment:
my cocconfig is set as default(cocinstall coc-python). my init.vim is:
and I test like below:
it shows the signatue. but the autocompletion is missed.