Dave Halter
77924398bd
Add a comment to clarify why we I used longest
2017-10-19 09:20:43 +02:00
Dave Halter
8e0cefc371
The parso sys path was not properly set
2017-10-19 09:20:43 +02:00
Dave Halter
bbd456c016
Update jedi to 0.11.0
2017-10-19 09:20:43 +02:00
Dave Halter
41507bab99
Use single quoted strings
2017-10-19 09:20:43 +02:00
Dave Halter
8b7c4cbad5
In older vim versions, noinsert and noselect didn't work
...
Use longest instead of them.
2017-10-19 09:20:43 +02:00
Dave Halter
65190a1856
A pyimport test failed sometimes on travis
...
There are sometimes slight differences in installed Python versions (and also Python versions within VIM versions).
2017-10-19 09:20:43 +02:00
Dave Halter
fb52e32238
Try installing Python3.6 in travis
2017-10-19 09:20:43 +02:00
Dave Halter
109ceeb2f8
Add the tests again to travis
2017-10-19 09:20:43 +02:00
Dave Halter
d189d8aab7
Add the parso submodule
2017-10-19 09:20:43 +02:00
Dave Halter
7e6811cb4b
Fix call signature tests
...
Now all tests should be fixed again. Also removed a deprecated call to call_name.
2017-10-19 09:20:43 +02:00
Dave Halter
24496c1416
Remove param name in description to make call signatures a bit better
2017-10-19 09:20:43 +02:00
Dave Halter
8d547695e2
Fix goto tests
2017-10-19 09:20:43 +02:00
Dave Halter
d42f56bc82
Buffer names seem to be an empty string sometimes and not None
2017-10-19 09:20:43 +02:00
Dave Halter
192e03b335
NotFoundError was deprecated in Jedi a while ago
2017-10-19 09:20:43 +02:00
Dave Halter
1c7c9064b7
test titles don't need underscores
2017-10-19 09:20:43 +02:00
Dave Halter
85020495ef
Only use the tagstack if the file actually exists
...
This caused problems when using jedi-vim without an actual file behind a buffer.
2017-10-19 09:20:43 +02:00
Dave Halter
edde267f6b
Fix a pyimport test fail
2017-10-19 09:20:43 +02:00
Dave Halter
641c88111d
Fix completion tests.
2017-10-19 09:20:43 +02:00
Dave Halter
5c6531ffae
Better names for the test parametrizations
2017-10-19 09:20:43 +02:00
Dave Halter
516189c7e3
call_name was deprecated a few Jedi versions ago
2017-10-19 09:20:43 +02:00
Dave Halter
ce6b60063d
Use python3.6 for tests.
2017-10-19 09:20:43 +02:00
Daniel Hahler
72c1a332d2
jedi#show_documentation: do not use quotes around bufname
2017-09-29 18:36:04 +02:00
Alexander Zhukov
c8164fdfda
Enhance example installation command ( #739 )
2017-09-17 21:21:42 +02:00
Daniel Hahler
0c6a2b7737
README: improve FAQ for slowness, add deoplete-jedi
...
Ref: https://github.com/davidhalter/jedi/issues/910#issuecomment-322731875
[ci skip]
2017-08-16 22:08:59 +02:00
Daniel Hahler
60bdff8eea
Move Python code for jedi#debug_info into pythonx
...
This allows vimlparser to parse the vim file again, and it is more
convenient to have it in a real Python file anyway.
Small refactoring and minor text changes included.
2017-08-09 23:59:52 +02:00
Daniel Hahler
ddaec5652b
Lint fixes
2017-08-09 00:13:55 +02:00
Daniel Hahler
163a0b5db1
Use Vim's pythonx mechanism
...
Move jedi_vim.py and the jedi submodule into pythonx, which gets added
to Vim's internal sys.path. While jedi cannot be imported directly from
there, it still makes sense for consistency.
2017-08-08 18:58:54 +02:00
Daniel Hahler
cfadac7f22
jedi#debug_info: try/catch failures from s:init_python()
...
This is relevant for when using `:JediDebuginfo` in a broken setup,
where the call to `jedi#init_python()` in the autoload file throws an
error already (but `jedi#debug_info` is defined/loaded before already).
2017-08-08 17:28:29 +02:00
Daniel Hahler
82661d515b
Fix restoring alternate terminal with completeopt redirection
...
Fixes https://github.com/davidhalter/jedi-vim/issues/721 .
2017-08-07 20:34:10 +02:00
Daniel Hahler
a46ea1a1eb
Refactor completeopt handling
...
Temporarily set &completeopt before triggering automatic completion,
instead of handling different settings afterwards.
`g:jedi#popup_select_first` is used to use `noinsert` instead of
`noselect`.
Fixes https://github.com/davidhalter/jedi-vim/issues/516 .
Fixes https://github.com/davidhalter/jedi-vim/issues/706 .
2017-08-07 19:48:53 +02:00
Daniel Hahler
a2cf2291da
Inline Python init script
...
Fixes https://github.com/davidhalter/jedi-vim/issues/726 .
2017-08-06 21:57:10 +02:00
Daniel Hahler
dc7b6228b2
Rename initialize.py to jedi_vim_init.py
...
Ref: https://github.com/davidhalter/jedi-vim/issues/726#issuecomment-320505021 .
2017-08-06 17:04:28 +02:00
Daniel Hahler
20312dcca8
JediDebugInfo: skip newline with no non-default settings
2017-08-06 15:08:11 +02:00
Daniel Hahler
c11b38cb48
s:init_python: use setup_py_version instead of force_py_version
2017-08-06 15:07:12 +02:00
Daniel Hahler
f1d9708f7c
jedi#setup_py_version: check if init script is readable
...
Ref: https://github.com/davidhalter/jedi-vim/issues/726 .
2017-08-06 14:48:09 +02:00
Daniel Hahler
6394614017
Define PythonJedi command always ( #727 )
...
This is meant to help in case of issues where the Python initialization
fails (https://github.com/davidhalter/jedi-vim/issues/726#issue-248054145 ),
so that `JediDebuginfo` can still provide some more information.
2017-08-06 01:00:51 +02:00
Daniel Hahler
6411de0cd1
auto_vim_configuration: improve check for changed completeopt setting
...
The user might want to use the default actually.
2017-06-10 12:38:33 +02:00
Antony Lee
0ee2ed0bc6
help: do not highlight rst indented sections as python ( #717 )
...
Fixes https://github.com/davidhalter/jedi-vim/issues/716 .
2017-06-06 18:09:14 +02:00
Daniel Hahler
e2d79c6434
popup_on_dot: document that it needs completions_enabled
...
It would be ignored already with completions_enabled=0.
This documents it and makes the default follow it.
2017-06-03 20:49:14 +02:00
BennyYip
53358dc0fa
Fix unwanted fold in __doc__
2017-06-03 20:39:14 +02:00
David D Lowe
18af876d6b
Clarify how to use minimal.vimrc to report issues ( #709 )
2017-05-25 14:46:44 +02:00
Dawson Botsford
40a02a7fd1
📄 Make Travis badge unpixely
2017-04-27 20:00:55 +02:00
Daniel Hahler
eef60e056a
JediDebugInfo: settings: display full name
2017-04-19 23:53:11 +02:00
Daniel Hahler
8e34a59045
initialize.py: handle reloading of the plugin ( #659 )
...
Do not keep adding jedi_vim_path to sys.path.
2017-04-13 22:47:31 +02:00
Daniel Hahler
c1e279cab7
Update Jedi to 0.10.2
2017-04-06 20:13:28 +02:00
Daniel Hahler
2ee9ec64d3
Improve GitHub issue template and JediDebugInfo
2017-03-01 23:52:55 +01:00
Daniel Hahler
682f37792d
Move Travis targets to Makefile
...
This allows for calling them easily locally.
2017-02-22 11:36:01 +01:00
Thúlio Costa
0844b14866
rename: use new Jedi interface
...
Fixes https://github.com/davidhalter/jedi-vim/issues/671 .
Closes https://github.com/davidhalter/jedi-vim/pull/684 .
2017-02-21 20:06:19 +01:00
Daniel Hahler
ac6756a466
Fix default of jedi#auto_vim_configuration back to 1 ( #682 )
...
This was broken in eba90e6 .
2017-02-17 22:11:21 +01:00
Daniel Hahler
b885e10e0d
Make jedi#debug_info more robust
...
Fixes https://github.com/davidhalter/jedi-vim/issues/675 .
2017-02-15 12:14:47 +01:00