Commit Graph

20 Commits

Author SHA1 Message Date
Daniel Hahler
0f203c12b9 Add select-mode mapping for completion trigger
This deletes the selection (by going to visual mode, and "c"), and then
triggers the completion.

This is useful with e.g. UltiSnips, when you want to start completion
with an expanded snippet argument selected.

Ref: https://github.com/davidhalter/jedi-vim/pull/339#issuecomment-97612632
2015-04-30 01:53:01 +02:00
Daniel Hahler
cfb76259f1 Mapping: remap of <C-Space>: use <buffer> and map to <C-Space>
Mapping it to <C-Space> should be enough, and makes it unnecessary to
map everything twice.
2015-04-30 01:50:23 +02:00
Daniel Hahler
e43012afc8 Refactor init method: add jedi#init_python
- jedi#init_python is used to init the Python environment.
 - jedi#setup_py_version is the single point where PythonJedi is
   defined, and will configure `PythonJedi` to output an error in case
   initialization failed.
 - jedi#force_py_version_switch will throw an error when
   g:jedi#force_py_version is not handled (e.g. invalid or "auto" and
   unresolved).
 - When g:jedi#force_py_version is provided, it will be used always.
 - Use WarningMsg highlight for errors, which are centralized and
   handled through exceptions.
2015-04-29 23:11:44 +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
69160c329a Matching fat symbols (current params) in a better way. 2015-03-26 15:06:25 +01:00
Dave Halter
3071700635 Match the new longer call_signature_escape symbol better. 2015-03-26 14:59:05 +01:00
Daniel Hahler
b6bef9a056 Do not overwrite/re-define pythonString syntax regions
Use `containedin` instead with `jediFunction`.
2015-03-03 13:43:16 +01:00
Jacob Niehus
cfd71a6b54 Add option to show call signatures in command line 2014-12-06 14:47:45 -07:00
itchyny
4ec0edafd8 fix global variables (#fix 324) 2014-11-25 08:26:47 +09:00
Yann Thomas-Gerard
04c3fc9d1b Moves completion settings to the after directory 2013-09-23 13:48:06 +02:00
Yann Thomas-Gerard
20a63f6c0f Sets our own omnifunc and allows loading of the distribution's python ftplugin 2013-09-18 11:44:06 +02:00
David Halter
81b752f606 indentation 2013-08-28 22:38:00 +04:30
David Halter
d85413feaa add highlight defaults instead of statically defined jedi syntax, if a colorscheme exists - fixes #142 2013-08-28 22:37:22 +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
Mathieu Comandon
fd6da66411 improve readability in function definitions for gvim 2012-10-20 19:52:13 +02:00
David Halter
48ab6c613f better support for in call displays (bugfixes) 2012-10-13 00:15:20 +02:00
David Halter
15426a3d51 better support for function display in strings 2012-10-12 21:48:26 +02:00
David Halter
7bc151be75 comment default override, because the highlighting didn't work there 2012-10-10 23:37:17 +02:00
tek
b18aacbd82 missing syntax file 2012-09-19 12:20:17 +02:00