Daniel Hahler
80378d857b
Use re.escape for the g:jedi#call_signature_escape setting ( #646 )
...
Fixes https://github.com/davidhalter/jedi-vim/issues/641 .
2016-12-09 00:10:20 +01:00
Dave Halter
671f9f5780
Merge pull request #640 from Aulddays/master
...
Change default g:jedi#call_signature_escape to avoid collision
2016-12-05 00:52:56 +01:00
Aulddays
b96dad9d50
add to author list
2016-12-04 22:40:50 +08:00
Aulddays
a69e6b8cc0
Change default g:jedi#call_signature_escape to avoid collision
...
Syntax highlighting on chars in g:jedi#call_signature_escape may
break the funciton parameter hint from jedi-vim. Change its default
value to non python syntax symbols to reduce chance of collision
2016-12-04 22:13:51 +08:00
Dave Halter
f191ccd6fb
Merge pull request #635 from blueyed/update-jedi
...
Update jedi submodule to current master
2016-11-16 18:02:45 +01:00
Daniel Hahler
8243015479
Update jedi submodule to current master
...
Comparison: 995a653122...2ba78ab725 .
2016-11-16 13:42:24 +01:00
Daniel Hahler
01787a9988
Fix typo in README ( #634 )
2016-11-14 17:15:20 +01:00
Christian Geier
4ed33a8600
Fix typo in README.
2016-11-14 14:30:28 +01:00
Dave Halter
e66c2e12e6
Merge pull request #625 from blueyed/add-JediClearCache
...
Add JediClearCache command
2016-10-24 10:19:28 +02:00
Dave Halter
d0c3ddb9ff
Merge pull request #619 from blueyed/reset-python-init-status-when-autoload-jedi.vim-is-resourced
...
Reset python init status when autoload/jedi.vim is resourced
2016-10-23 18:47:49 +02: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
Dave Halter
9384d464ec
Merge pull request #620 from blueyed/check-health
...
Hook into Neovim's :CheckHealth with jedi#debug_info
2016-09-27 20:23:56 +02:00
Daniel Hahler
d86039ea89
Hook into Neovim's :CheckHealth with jedi#debug_info
...
See https://github.com/neovim/neovim/blob/master/runtime/doc/pi_health.txt .
2016-09-25 18:11:06 +02:00
Daniel Hahler
b32b731767
Reset python init status when autoload/jedi.vim is resourced
2016-09-25 18:02:44 +02:00
Daniel Hahler
6a6595f5c5
Improve jedi#debug_info / :JediDebugInfo ( #618 )
2016-09-25 17:47:09 +02:00
Dave Halter
026ae6be03
Merge pull request #613 from otommod/patch-1
...
Fix doc link
2016-09-06 17:18:09 +02:00
Otto Modinos
b7163d615c
Fix doc link
...
Stars are not correct here.
2016-09-06 17:06:32 +03:00
Dave Halter
443e7fe555
Merge pull request #608 from blueyed/github-issue-template
...
Add an ISSUE_TEMPLATE file for GitHub
2016-08-17 22:32:12 +02:00
Daniel Hahler
b3f7f3c0b5
fixup! fixup! Add an ISSUE_TEMPLATE file for GitHub
2016-08-17 12:25:38 +02:00
Daniel Hahler
8753bf2e16
fixup! Add an ISSUE_TEMPLATE file for GitHub
2016-08-17 12:24:05 +02:00
Dave Halter
f95ac1e8e0
Merge pull request #606 from blueyed/remove-mark-hack-for-jumplist
...
Do not set the '`' mark in goto
2016-08-16 23:03:14 +02:00
Daniel Hahler
f0c63f1172
Do not set the '`' mark in goto
...
This was meant as a hack to make the jumplist work (7520290 ), but it
works without it. Maybe the underlying code to go to the definition has
been changed/improved.
Tested both in Vim (7.4.2143) and Neovim.
2016-08-16 00:52:27 +02:00
Daniel Hahler
02c2de1c51
Add an ISSUE_TEMPLATE file for GitHub
2016-08-16 00:52:17 +02:00
Daniel Hahler
99132ec545
Fix Travis: remove --use-mirrors for pip ( #609 )
...
* Travis: use sudo: false (container based builds)
* Travis: remove --use-mirrors for pip-install
The option is not valid anymore with pip 8.1.2 apparently
(https://travis-ci.org/davidhalter/jedi-vim/builds/152006664 ).
2016-08-16 00:51:45 +02:00
Dave Halter
5ea9ee7a63
Merge pull request #602 from blueyed/improve-jedi-load-error
...
Improve error msg when the jedi submodule fails to load
2016-08-06 18:23:42 +02:00
Daniel Hahler
ba0b44b65d
echo_highlight: cast msg to str
...
This helps to avoid errors with incomplete traceback/exception details
when using it with e.g. `echo_highlight(dir(jedi))`.
2016-08-03 11:19:11 +02:00
Daniel Hahler
369284a6bc
README: enhance Installation section
2016-08-03 11:18:41 +02:00
Daniel Hahler
3882c5dd32
Improve error message when the jedi module fails to load
...
Fixes https://github.com/davidhalter/jedi-vim/issues/560 .
2016-08-03 11:08:30 +02:00
Dave Halter
c94a143bfb
VIM apparently cannot deal with zero bytes in strings. Fixes #551
2016-07-30 15:59:15 +02:00
Tommy Allen
b7e42e6ad5
Fix preview autocmd being cleared for all buffers ( #597 )
...
Fixes https://github.com/davidhalter/jedi-vim/pull/582#issuecomment-235986169 .
2016-07-28 23:02:21 +02:00
Dave Halter
2eabe57616
Make the equals available in the completion list, fixes #350 .
2016-07-21 23:30:36 +02:00
Dave Halter
d9f92d5b24
Move the vim import to top.
2016-07-21 23:26:04 +02:00
Dave Halter
6b7dfe1c1a
Merge pull request #577 from blueyed/more-robust-initialize.py
...
Make initialize.py more robust
2016-06-16 21:18:44 +02:00
Tommy Allen
70360437cd
Prevent duplication of InsertLeave autocmds in buffers ( #582 )
2016-06-12 00:35:09 +02:00
Daniel Hahler
19ad3063d9
Make initialize.py more robust
...
Ref: https://github.com/davidhalter/jedi-vim/issues/574
2016-05-28 20:46:02 +02:00
Asher256
8334e505b3
Bug fix: E492: Not an editor command: jedi_vim.clear_call_signatures() ( #576 )
...
I got this error after I updated my local copy of jedi-vim to
the commit 'e8b88f0161ef2adabda97d4e083585a3becdcb53':
```
Error detected while processing function jedi#clear_call_signatures:
line 6:
E492: Not an editor command: jedi_vim.clear_call_signatures()
``
`
The error below happened because 'PythonJedi' was missing before
jedi_vim.clear_call_signatures() in autoload/jedi.vim.
I put back 'PythonJedi' and it solved the issue.
2016-05-27 20:57:22 +02:00
Dave Halter
e8b88f0161
When jedi-vim cannot load jedi, show_call_signatures should not throw errors all the time. One error at the beginning is enough.
2016-05-27 13:22:37 +02:00
Dave Halter
a0c3269420
Merge pull request #557 from blueyed/vim_eval-int
...
Cast integers with vim_eval
2016-04-08 14:49:24 +02:00
Daniel Hahler
75e9141111
Cast integers with vim_eval
...
This makes it clearer/more strict altogether and is future-proof in the
sense that `vim.eval` might return integers for numbers in Vim after all.
See #553 for a very noisy discussion of what led to this.
Although it might be a regression in neovim-python after all it is good
to be on the safe side.
The bonus here is that we get "notified" in case of a option that is
expected to be an integer is a string instead.
Fixes https://github.com/davidhalter/jedi-vim/issues/553 .
2016-04-08 14:37:44 +02:00
Dave Halter
5ccdd11282
Merge pull request #556 from blueyed/clarify-_catch_exception
...
Clarify arguments with _catch_exception
2016-04-07 22:30:42 +02:00
Dave Halter
5bcb17a8ad
Merge pull request #554 from blueyed/improve-error-with-use_splits_not_buffers
...
minor: improve error msg with invalid use_splits_not_buffers setting
2016-04-07 22:10:08 +02:00
Daniel Hahler
0f7b743b4e
Clarify arguments with _catch_exception
...
The whole int/string conversion with `vim.eval` is confusing enough, use
a boolean for `is_eval`.
2016-04-06 17:22:47 +02:00
Daniel Hahler
48ad42de86
minor: improve error msg with invalid use_splits_not_buffers setting
...
Ref: https://github.com/davidhalter/jedi-vim/issues/553
2016-04-06 14:01:03 +02:00
Daniel Hahler
0d613b5cf9
Merge pull request #549 from mozbugbox/rename-fix
...
Fix renaming: cursor pos and undo tracking (#545 , #502 )
2016-03-21 22:19:59 +01:00
mozbugbox
794af5b90a
Track undo properly in rename(). Fix #502
...
Use vim changenr() call to track change and undo. This is more
robust than bindly call 'normal! u'
2016-03-21 09:53:57 +08:00
mozbugbox
221d7dbee4
Fix: rename() kept wrong cursor position #545
...
The cursor would change to something else once in the insert mode. If
the new name was longer than the old one, the Parser couldn't get
the stmt at the wrong cursor position, thus rename failed.
Now save the cursor position before entering the insert mode. Then pass
the saved position to the 2nd call to the rename().
2016-03-20 23:05:15 +08:00
Dave Halter
e7193b5e5f
Merge pull request #547 from blueyed/improve-error-on-init
...
Improve error messages during init
2016-03-20 04:34:08 +01:00
Dave Halter
9ae6da6467
Merge pull request #548 from blueyed/use-m-with-search
...
jedi#smart_auto_mappings: use `\m` with `search()` for `magic`
2016-03-20 04:33:53 +01:00
Daniel Hahler
f08abefa31
jedi#smart_auto_mappings: use \m with search() for magic
...
With `nomagic` being set (not recommended, but might happen), the
pattern would not work.
This patch sets `\m` explicitly.
2016-03-18 23:16:07 +01:00
Daniel Hahler
cdfb7a5b4f
initialize.py: catch and handle any exception when import jedi_vim
...
This adds the traceback to it, which then will be displayed with
`v:exception` in the Vim part.
2016-03-18 23:08:49 +01:00