Commit Graph

60 Commits

Author SHA1 Message Date
Asa Jay
3ad63c9458 Implemented: force python 2 or 3 with ability to switch during runtime
Simultaneous python2 and python3 support, switchable during runtime
calling a function as well as setting a variable in .vimrc! Closes
issues #200 and #210 (which gave the idea for this commit, thank you
@Shtucer).
2013-12-13 20:51:24 +01:00
LittleQ
ec405fa3b2 fixed type and set default value to 1 to avoid testing error 2013-09-15 00:20:20 +08:00
LittleQ
1c24594c70 added split support for goto action 2013-09-14 23:33:40 +08:00
Sheng Yun
f082e2b75a force jedi.vim's fileencoding to utf-8 2013-09-10 11:20:33 +08:00
David Halter
fe3840770a don't use the call_signatures_func 2013-08-28 20:00:35 +04:30
David Halter
48d0370387 completion tests 2013-08-28 19:44:56 +04:30
David Halter
dd426c6369 change some more complete_string details 2013-08-28 19:36:57 +04:30
David Halter
3934359666 also move popup_on_dot_string method 2013-08-28 19:01:30 +04:30
David Halter
3ce655f428 autocomplete function simplified, #136 2013-08-28 15:42:02 +04:30
David Halter
505c067c54 fix problems with relocating plugin (did it the wrong way around 2013-08-28 09:40:23 +04:30
David Halter
e534aeee4b move jedi_vim.py to main folder 2013-08-27 21:49:51 +04:30
David Halter
178b064821 better warning when python is not available 2013-08-27 21:30:19 +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
c4980738bd cleanup 2013-08-27 20:28:51 +04:30
David Halter
d29bd89d58 improve a warning that wasn't working 2013-08-26 20:04:58 +04:30
David Halter
22149611a3 fix a problem with the quickfix window 2013-08-24 15:45:08 +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
c3bea09d74 rename methods 2013-08-23 11:24:10 +04:30
David Halter
c8c4399d45 Remove a name conflict with show_call_signatures 2013-08-22 17:24:16 +04:30
David Halter
5993b0c599 Warning if Jedi is not installed. 2013-08-22 17:22:27 +04:30
David Halter
100e1ed8cd move py_import function finally to jedi_vim.py 2013-08-22 11:49:08 +04:30
David Halter
63029f5ea2 some function don't need to be in the jedi namespace 2013-08-22 11:31:44 +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
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
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
f88c11e353 Merge branch 'bugfix-newtab-syntax' of git://github.com/artnez/jedi-vim into newtab 2013-05-18 22:44:49 +04:30
Marcin Szamotulski
422ad483c1 g:jedi#quickfix_window_height
This commit adds an option g:jedi#quickfix_window_height, with the
    default value 10 (as this is the default value for :copen)
2013-03-17 13:47:17 +00:00
Artem Nezvigin
5b1a253e9b Fix new tabs overriding default syntax rules
Calling `syntax on` will override existing syntax rules with default
ones. This ends up adding a bunch of syntax rules that users have
disabled.

See `:help syntax` for this snippet:

    The ":syntax enable" command will keep your current color settings. This
    allows using ":highlight" commands to set your preferred colors before or
    after using this command.  If you want Vim to overrule your settings with
    the defaults, use: `:syntax on`

Calling `:syntax enable` doesn't appear to work either. It does the same thing
as `:syntax on`. So the solution implemented here is to conditionally set the
filetype and syntax rules when they aren't already set.
2013-03-02 11:14:57 -08:00
York Wong
ed8dcf6f5d Fix #80 "Not an editor command: Python << PYTHONEOF" 2013-02-05 17:35:45 +08:00
David Halter
fdcc192def Merge pull request #83 from andviro/master
fix for #81
2013-01-25 01:37:24 -08:00
Andrew Rodionoff
70f4c16ae3 fixed find related names 2013-01-25 12:04:17 +04:00
David Halter
69e4cead81 turn syntax highlighting on again if it's turned off by renaming (possible vim bug). 2013-01-14 15:37:59 +01:00
David Halter
3c55a4bed6 Python alias works now 2013-01-07 00:28:37 +01:00
David Halter
30ea569cd8 python -> Python 2013-01-06 23:59:10 +01:00
Luper Rouch
68bca9a773 fixed jedi#new_buffer() when g:jedi#use_tabs_not_buffers = 0 2012-12-27 00:00:11 +01:00
David Halter
d576d7d151 use vim.command instead of vim.execute (which doesn't even exist), thanks to @enoodle for the hint 2012-12-25 23:58:59 +01:00
David Halter
ff10a0a6e4 escape file paths if opening new buffers/tabs, fixes #54 2012-12-21 13:03:55 +01:00
David Halter
6a70c84cc0 new_buffer instead of tabnew 2012-12-21 09:52:26 +01:00
David Halter
1900c0829a changed sys.path insertion, might help #28 2012-12-10 16:50:30 +01:00
David Halter
d613ed2266 again debug functions (was buggy before) 2012-11-28 17:43:05 +01:00
David Halter
fb744e2e6d add debugging functions for jedi 2012-11-28 10:17:52 +01:00
Akinori Hattori
67b8588085 fix python sys.path 2012-11-05 20:24:55 +09:00
mattn
7ad32841d2 fix delayload. 2012-10-31 22:57:04 +09:00
mattn
b92de58826 delay load python module. this change make bits faster. 2012-10-31 09:18:46 +09:00
tek
fa46afb53c missing bang in function definition 2012-10-19 00:55:53 +02:00
David Halter
a87af78be3 don't complete on numbers, fixes #14 2012-10-17 23:35:00 +02:00
David Halter
1e3e8e1aec show_func_def raised errors again (#3), almost fixes #9 2012-10-16 09:42:25 +02:00