Commit Graph

112 Commits

Author SHA1 Message Date
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
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
Daniel Hahler
2ee9ec64d3 Improve GitHub issue template and JediDebugInfo 2017-03-01 23:52:55 +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
eba90e615d Style fixes (via vint) (#662)
This also adds a augroup for `jedi#add_goto_window`.
2017-01-29 11:55:55 +01:00
Daniel Hahler
12db7ad364 Add JediClearCache command
This can be used to work around issues like
https://github.com/davidhalter/jedi/issues/784.
2016-10-06 19:15:52 +02:00
Daniel Hahler
ed09c7c1af Add JediDebugInfo command: display used Python version
This command is meant to come in handy to debug problems with jedi-vim.
For now, it will display the Python version that jedi-vim is using.
2015-08-19 23:57:29 +02:00
Daniel Hahler
83d398bc5d auto-config: set completeopt only if it's the default
The setting is also moved from "ftplugin" to "plugin", which allows for
easier customization, e.g. via a FileType plugin.

Ref: https://github.com/davidhalter/jedi-vim/issues/374#issuecomment-97621368
2015-04-30 02:37:36 +02:00
Dave Halter
bf96f7d611 jedi#auto_vim_configuration might not have been set before loading plugin. Therefore check if it was set. 2015-04-02 16:16:17 +02:00
Dave Halter
c9c0198467 Settin nocompatible and filetype pluin n should be part of a jedi#auto_vim_configuration check. Fixes #373. 2015-03-25 14:05:01 +01:00
David Halter
36e84dd112 jedi-vim doesn't work in compatible mode 2013-08-28 17:10:26 +04:30
David Halter
e534aeee4b move jedi_vim.py to main folder 2013-08-27 21:49:51 +04:30
David Halter
b9154c7353 plugin is now almost empty, fixes #113 2013-08-27 21:29:45 +04:30
David Halter
eae610a88d move also the whole python initialization away from plugin.vim 2013-08-27 21:25:05 +04:30
David Halter
c1ec986732 move defaults initialization to autoload 2013-08-27 21:18:24 +04:30
David Halter
ac754b4785 add unused auto-initialization (Python is not a valid filetype) 2013-08-27 11:29:31 +04:30
Zekeriya Koc
7245dff650 fixed variable typo in deprecation function 2013-08-25 17:58:08 +03:00
David Halter
a9c654fe48 added a way to disable completions, as mentioned in #166 2013-08-24 21:22:04 +04:30
David Halter
2b52548b37 use safe vim.eval/vim.command if possible (better tracebacks) 2013-08-24 01:59:41 +04:30
David Halter
d9d5a329f0 good exceptions 2013-08-24 01:30:35 +04:30
David Halter
b5b31aa0e6 huge refactoring, moved new_buffer completely to python code 2013-08-23 23:38:52 +04:30
David Halter
0b8448804d show_call_signatures shows now all call signatures if there are multiple, and not just one. 2013-08-22 17:18:25 +04:30
David Halter
59be959a3d show messages when py_import fails 2013-08-22 12:09:53 +04:30
David Halter
1247e258d0 enforce using jedi 0.7 2013-08-22 11:52:47 +04:30
David Halter
100e1ed8cd move py_import function finally to jedi_vim.py 2013-08-22 11:49:08 +04:30
David Halter
c58fc7c952 moved some Pyimport stuff to autoload and added a new_buffer option 2013-08-22 11:27:38 +04:30
David Halter
748a47e6e9 Pyimport command should respect tab setting 2013-08-22 10:47:13 +04:30
David Halter
a74c3bd29a fix a few remaining name problems, that have been forgotten 2013-08-20 16:19:42 +04:30
David Halter
6ed0b78c90 deprecate a lot of old definitions how to use functions, use instead the names of jedi functions 2013-08-20 16:17:39 +04:30
David Halter
6ee05f976d use call_signature_escape instead of the old function_definition_escape, to be compatible with jedi 2013-08-20 15:13:55 +04:30
David Halter
bba9682197 call_signatures instead of function_definition 2013-08-20 15:07:32 +04:30
David Halter
00814ef58d completions instead of complete 2013-08-20 15:01:09 +04:30
David Halter
e01eadb9ed automatically initialize filetype plugin on 2013-08-19 15:27:40 +04:30
David Halter
e93976ad44 fix position of call defs cursor 2013-08-18 20:47:04 +04:30
David Halter
6028e0d379 builtin modules cannot be displayed, but show the path where they are located 2013-08-07 10:59:23 +04:30
David Halter
33b58d894c removed an old description 2013-08-05 16:40:48 +04:30
Guillaume Poulin
ca50a02a86 Modify IndexError to LookupError in tabnew 2013-07-03 02:57:55 +08:00
heavenshell
108cfbdd5d Add whitespace after . 2013-06-03 20:55:38 +09:00
David Halter
622331afa4 Merge pull request #138 from heavenshell/fix_deprecation_warning
Fix not to use deprecated method
2013-05-31 12:07:00 -07:00
heavenshell
9c3e9dbe03 Fix goto() deprecation. 2013-06-01 00:59:49 +09:00
heavenshell
a8422d3682 Fix get_in_function_call() deprecation. 2013-06-01 00:56:04 +09:00
heavenshell
6f107578ee Fix related_names() deprecation. 2013-06-01 00:50:02 +09:00
heavenshell
355203cab0 Fix goto() deprecation. 2013-06-01 00:47:11 +09:00
heavenshell
e4a2a0f30e Fix get_definition() deprecation. 2013-06-01 00:41:04 +09:00
heavenshell
efb1997218 Fix show_pydoc() get_definition() deprecation. 2013-06-01 00:37:15 +09:00
heavenshell
cf3182e549 Fix complete() deprecation. 2013-06-01 00:27:14 +09:00
Matthew Moses
d56bf264e7 Fix some errors when vim is compiled with +python3.
When vim is compiled with `-python` and `+python3`, jedi-vim generates
errors because of two points in the code which are not compatible with
Python 3 (because of the `str`/`unicode` vs. `bytes`/`str` thing).
2013-05-19 03:41:46 -04:00
David Halter
b9fef7b969 renamed Pyedit to Pyimport, refs #117 2013-05-19 00:25:00 +04:30
David Halter
ccc901f360 use is_keyword instead of hack 2013-05-19 00:11:27 +04:30
David Halter
e8e1cc7d47 improve indentation of #117 2013-05-18 21:53:44 +04:30