for example :
import os
os.
then error: omni completion pattern not found
Expected
Environment Information
OS: win 10
Vim version: vim 8
Provide a minimal .vimrc with less than 50 lines (Required!)
" Your minimal .vimrc
set runtimepath+=~/path/to/neocomplete.nvim/
let g:neocomplete#enable_at_startup = 1
if isdirectory(expand("~/vimfiles/pugged/jedi-vim/"))
if &filetype == 'python'
let g:neocomplete#enable_at_startup = 1
let g:jedi#completions_enabled = 1
let g:jedi#auto_vim_configuration = 1
let g:jedi#smart_auto_mappings = 1 "加上这个,就会增加比如,from PIL 后自动输入import ,然后弹出自动补全。
if !exists('g:neocomplete#force_omni_input_patterns')
let g:neocomplete#force_omni_input_patterns = {}
endif
let g:neocomplete#force_omni_input_patterns.python = '\%([^. \t].|^\s@|^\sfrom\s.+import |^\sfrom |^\simport )\w*'
let g:jedi#completions_command = ""
let g:jedi#documentation_command = "k"
let g:jedi#rename_command = ""
endif
endif
The reproduce ways from Vim starting (Required!)
foo
bar
baz
Screen shot (if possible)
Upload the log messages by :redir and :message
:message
Messages maintainer: Bram Moolenaar Bram@vim.org
"C:\Users\kerwin\Desktop\how_many_contacts_of_outlook_for_search_stock_per_day.py" [unix] 75L, 1370C
Traceback (most recent call last):
File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi_vim.py", line 262, in completions
info=PythonToVimStr(c.docstring()), # docstr
File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\api\classes.py", line 479, in docstring
return super(Completion, self).docstring(raw=raw, fast=fast)
File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\api\classes.py", line 242, in docstring
return _Help(self._name).docstring(fast=fast, raw=raw)
File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\api\classes.py", line 756, in docstring
signature_text = _format_signatures(context)
File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\api\classes.py", line 715, in _format_signatures
for signature in context.get_signatures()
File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\evaluate\context\klass.py", line 229, in get_signatures
return [sig.bind(self) for sig in init_funcs.get_signatures()]
File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\evaluate\context\klass.py", line 229, in
return [sig.bind(self) for sig in init_funcs.get_signatures()]
File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\evaluate\signature.py", line 107, in bind
assert not self.is_bound
AssertionError
Problems summary
for example : import os os. then error: omni completion pattern not found
Expected
Environment Information
Provide a minimal .vimrc with less than 50 lines (Required!)
if isdirectory(expand("~/vimfiles/pugged/jedi-vim/")) if &filetype == 'python' let g:neocomplete#enable_at_startup = 1 let g:jedi#completions_enabled = 1 let g:jedi#auto_vim_configuration = 1 let g:jedi#smart_auto_mappings = 1 "加上这个,就会增加比如,from PIL 后自动输入import ,然后弹出自动补全。 if !exists('g:neocomplete#force_omni_input_patterns') let g:neocomplete#force_omni_input_patterns = {} endif let g:neocomplete#force_omni_input_patterns.python = '\%([^. \t].|^\s@|^\sfrom\s.+import |^\sfrom |^\simport )\w*' let g:jedi#completions_command = ""
let g:jedi#documentation_command = "k"
let g:jedi#rename_command = ""
endif
endif
The reproduce ways from Vim starting (Required!)
Screen shot (if possible)
Upload the log messages by
:redir
and:message
:message Messages maintainer: Bram Moolenaar Bram@vim.org "C:\Users\kerwin\Desktop\how_many_contacts_of_outlook_for_search_stock_per_day.py" [unix] 75L, 1370C Traceback (most recent call last): File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi_vim.py", line 262, in completions info=PythonToVimStr(c.docstring()), # docstr File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\api\classes.py", line 479, in docstring return super(Completion, self).docstring(raw=raw, fast=fast) File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\api\classes.py", line 242, in docstring return _Help(self._name).docstring(fast=fast, raw=raw) File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\api\classes.py", line 756, in docstring signature_text = _format_signatures(context) File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\api\classes.py", line 715, in _format_signatures for signature in context.get_signatures() File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\evaluate\context\klass.py", line 229, in get_signatures return [sig.bind(self) for sig in init_funcs.get_signatures()] File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\evaluate\context\klass.py", line 229, in
return [sig.bind(self) for sig in init_funcs.get_signatures()]
File "E:\home\kerwin\vimfiles\pugged\jedi-vim\pythonx\jedi\jedi\evaluate\signature.py", line 107, in bind
assert not self.is_bound
AssertionError