Commit Graph

18 Commits

Author SHA1 Message Date
Dave Halter
84b8eeb954 Highlight usages
Use matchaddpos to highlight usages in the current file.
2018-07-15 19:26:11 +02:00
Daniel Hahler
1773837a11 syntax: use "hi def" everywhere
This allows for keeping user configuration.
2018-07-10 12:49:48 +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
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