Dave Halter
e7cb9a186e
Also add remove_usages on InsertEnter
2018-07-15 19:26:11 +02:00
Dave Halter
b5774a9554
Add an augroup for usages
2018-07-15 19:26:11 +02:00
Dave Halter
f0d80048f1
Remove usages after text has changed in normal mode
2018-07-15 19:26:11 +02:00
Dave Halter
9e2244c44e
Use standout/reverse instead of yellow for jediUsages
...
It uses cterm=reverse, which is supported by current Neovim, and at
least for xterm and rxvt-unicode reverse and standout are the same.
See `infocmp`:
> smso=\E[7m / rev=\E[7m
2018-07-15 19:26:11 +02:00
Dave Halter
cc087ef463
Somehow show_goto_multi_results was called without arguments
...
This was obviously wrong and fixed by inserting the obvious param
2018-07-15 19:26:11 +02:00
Dave Halter
efaef9cee3
Rename was in the wrong spot when using it at the end of a line.
2018-07-15 19:26:11 +02:00
Dave Halter
58561d45f1
Fix renaming and also highlight the renamed classes.
2018-07-15 19:26:11 +02:00
Dave Halter
84b8eeb954
Highlight usages
...
Use matchaddpos to highlight usages in the current file.
2018-07-15 19:26:11 +02:00
Dave Halter
2bb7677b43
Make it clearer which versions make check requires
2018-07-14 15:39:02 +02:00
Dave Halter
81ada14f0b
Upgrade jedi to 0.12.1, forgot to upgrade it when upgrading parso
...
a79a1fb Merge branch 'parso'
58141f1 Don't use requirements for now, and use the git version instead in tox
e0e2be3 Add a better comment about why people need to upgrade parso
1e7662c Prepare release of 0.12.1
68974ae Don't use internal parso APIs if possible
c208d37 Remove code that is no longer used, because parso was refactored.
3847406 Make jedi work with the next parso release
95f835a Force unicode when listing module names
282c6a2 Use highest possible pickle protocol
ea71ded Include stderr with "subprocess has crashed" exception (#1124 )
106b11f Set stdout and stdin to binary mode on Python 2 and Windows
f9e90e8 Use system default buffering on Python 2
197aa22 Use cPickle on Python 2 if available
e96ebbe Add tests for DefaultDict support.
55941e5 Add support for DefaultDict on jedi_typing.py.
ff4a773 Parse correct AST attribute for version
70c2fce Replace distutils.spawn.find_executable with shutil.which
5dab97a Add an error message, see also #1139 .
e2cd228 Dict comprehension items call should now work, fixes #1129
c1014e0 Fix flow analysis test
62a3f99 Fix a wrong branch check, fixes #1128
6ebe3f8 Drop 3.3 tests from travis
50812b5 A simple yield should not cause an error, fixes #1117
d10eff5 Travis: report coverage also to codecov.io
6748faa Fix _get_numpy_doc_string_cls: use cache
fc14aad Fix namespace autocompletion error
3c909a9 Travis: remove TOXENV=cov from allowed failures
b94b45c Environment._get_version: add msgs with exceptions
a95274d None/False/True are atom non-terminals in the syntax tree, fixes #1103
8d48e74 When searching submodules, use all of __path__, fixes #1105
9149956 Specially crafted docstrings sometimes lead to errors, fixes #1103
ba96c21 Follow up from the last async issue, fixes more related things about #1092 .
8494164 Fix an async funcdef issue, fixes 1092.
4075c38 In some very rare cases it was possible to get an interpreter crash
because of this bug. Fixes #1087
0bcd170 Start using our own monkeypatch function for some things
ceb5509 Include function return type annotation in docstring if it is present
88243d2 Don't catch IndexError where we don't have to
5f37d08 Extend create_environment to accept an executable path
aa6857d check_fs: handle FileNotFoundError
2018-07-14 12:31:11 +02:00
Dave Halter
a54729ef63
Use the official Jedi goto API instead of multiple calls
...
Fixes #802 .
2018-07-04 00:03:11 +02:00
Dave Halter
6781eb17da
Small documentation change
2018-05-09 16:04:47 +02:00
Dave Halter
5ad782d920
Remove a strange sentence
2018-05-09 16:04:47 +02:00
Dave Halter
835e329883
Some improvements for the virtualenv patch
2018-05-09 16:04:47 +02:00
Dave Halter
49fa267e59
The jedi API changed a bit
2018-05-09 16:04:47 +02:00
Dave Halter
fa1aaa10cf
Fix the jedi-vim debug tool, fixes #795
2018-05-09 16:04:47 +02:00
Dave Halter
e54a17ec71
Document force_py_version better
2018-05-09 16:04:47 +02:00
Dave Halter
48a9ea085d
Force the Python environment correctly
2018-05-09 16:04:47 +02:00
Dave Halter
72a2643f7c
Use the environment for completions.
2018-05-09 16:04:47 +02:00
Dave Halter
57cbf1421f
Somehow the virtual env prefix is set in VIM.
...
This basically corrupts VIM's Python, because it might be having a differnet prefix (Python 3.6) than sys path. I don't know who came up with this - probably it's just how Python loads venvs - but it's definitely not good. Fortunately we can just reset it and be happy.
2018-05-09 16:04:47 +02:00
Dave Halter
37bd03c3d5
An or is not needed
...
This comparison is useless, because the case where the module_path is None is already looked at in a previous if
2018-02-01 00:27:42 +01:00
Dave Halter
79ced22a37
Handle the module_path better for namespaces
...
See also discussion in davidhalter/jedi#1033
2018-01-30 00:16:35 +01:00
Dave Halter
31ebd30c31
Upgrade jedi and parso
2017-12-14 23:06:18 +01:00
Dave Halter
77924398bd
Add a comment to clarify why we I used longest
2017-10-19 09:20:43 +02:00
Dave Halter
8e0cefc371
The parso sys path was not properly set
2017-10-19 09:20:43 +02:00
Dave Halter
bbd456c016
Update jedi to 0.11.0
2017-10-19 09:20:43 +02:00
Dave Halter
41507bab99
Use single quoted strings
2017-10-19 09:20:43 +02:00
Dave Halter
8b7c4cbad5
In older vim versions, noinsert and noselect didn't work
...
Use longest instead of them.
2017-10-19 09:20:43 +02:00
Dave Halter
65190a1856
A pyimport test failed sometimes on travis
...
There are sometimes slight differences in installed Python versions (and also Python versions within VIM versions).
2017-10-19 09:20:43 +02:00
Dave Halter
fb52e32238
Try installing Python3.6 in travis
2017-10-19 09:20:43 +02:00
Dave Halter
109ceeb2f8
Add the tests again to travis
2017-10-19 09:20:43 +02:00
Dave Halter
d189d8aab7
Add the parso submodule
2017-10-19 09:20:43 +02:00
Dave Halter
7e6811cb4b
Fix call signature tests
...
Now all tests should be fixed again. Also removed a deprecated call to call_name.
2017-10-19 09:20:43 +02:00
Dave Halter
24496c1416
Remove param name in description to make call signatures a bit better
2017-10-19 09:20:43 +02:00
Dave Halter
8d547695e2
Fix goto tests
2017-10-19 09:20:43 +02:00
Dave Halter
d42f56bc82
Buffer names seem to be an empty string sometimes and not None
2017-10-19 09:20:43 +02:00
Dave Halter
192e03b335
NotFoundError was deprecated in Jedi a while ago
2017-10-19 09:20:43 +02:00
Dave Halter
1c7c9064b7
test titles don't need underscores
2017-10-19 09:20:43 +02:00
Dave Halter
85020495ef
Only use the tagstack if the file actually exists
...
This caused problems when using jedi-vim without an actual file behind a buffer.
2017-10-19 09:20:43 +02:00
Dave Halter
edde267f6b
Fix a pyimport test fail
2017-10-19 09:20:43 +02:00
Dave Halter
641c88111d
Fix completion tests.
2017-10-19 09:20:43 +02:00
Dave Halter
5c6531ffae
Better names for the test parametrizations
2017-10-19 09:20:43 +02:00
Dave Halter
516189c7e3
call_name was deprecated a few Jedi versions ago
2017-10-19 09:20:43 +02:00
Dave Halter
ce6b60063d
Use python3.6 for tests.
2017-10-19 09:20:43 +02:00
Dave Halter
0dea756fd9
Update the Jedi subrepository to 0.10.0 ( #669 )
2017-02-03 00:49:42 +01:00
Dave Halter
f100ffad4d
Merge pull request #661 from blueyed/remove-obsolete-s-jedi_changedtick-and-fix-style
...
Remove obsolete s:jedi_changedtick and fix style
2017-01-27 19:23:51 +01:00
Dave Halter
fe30fa485b
Merge pull request #660 from blueyed/debuginfo-settings
...
jedi#debug_info: output non-default settings
2017-01-25 23:31:37 +01:00
Dave Halter
4a3dc9da84
Merge pull request #658 from blueyed/debug-info-improved
...
Improve :JediDebugInfo: verify that JediPython works / sys_path
2017-01-23 00:21:06 +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
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
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
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
Dave Halter
026ae6be03
Merge pull request #613 from otommod/patch-1
...
Fix doc link
2016-09-06 17:18:09 +02: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
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
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
Dave Halter
c94a143bfb
VIM apparently cannot deal with zero bytes in strings. Fixes #551
2016-07-30 15:59:15 +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
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
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
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
Dave Halter
625c568b12
Merge pull request #527 from prologic/master
...
Fixes Python 2.6 compatibility issues with `str.format()`
2016-01-14 14:14:44 +01:00
Dave Halter
dc23f0b859
Merge pull request #501 from kashiro/fix/auto-selected-last-opt
...
check "noselect" and "noinsert" before <C-p>
2015-11-19 13:15:06 +01:00
Dave Halter
b3e91e8de2
Merge pull request #497 from wilywampa/buffer_autocmds
...
Fix signatures only working in a single buffer
2015-11-07 21:15:14 +01:00
Dave Halter
95d8eb1b08
Merge pull request #479 from blueyed/fix-cached-signature-call
...
Handle parenthesis with show_call_signatures' cache
2015-10-18 21:45:18 +02:00
Dave Halter
067ab1ea4b
Merge pull request #477 from blueyed/fix-cached-signature-call
...
Invalidate `show_call_signatures_delay` on InsertEnter
2015-10-18 21:01:37 +02:00
Dave Halter
8ee4e12d3e
Merge pull request #458 from wilywampa/goto_tagstack
...
Add g:jedi#use_tag_stack feature for jedi#goto()
2015-10-18 11:51:11 +02:00
Dave Halter
610cbcacb7
Merge pull request #436 from blueyed/delayed-call-signatures
...
Delayed call signatures
2015-10-14 15:05:58 +02:00
Dave Halter
b5ec9ac3ed
Merge pull request #472 from blueyed/CONTRIBUTING.md-debug-info
...
CONTRIBUTING.md: request :version and :JediDebugInfo output
2015-10-09 00:23:21 +02:00
Dave Halter
525524b5cf
Merge pull request #464 from itchyny/fix-global-env-pollution
...
make `key` and `val` script local
2015-09-28 00:49:33 +02:00
Dave Halter
bcf24529fa
Merge pull request #461 from blueyed/importerror-with-no_jedi_warning
...
Pass ImportError to no_jedi_warning and display it there
2015-09-08 16:42:38 +02:00
Dave Halter
45c0b91c5e
Merge pull request #456 from blueyed/add-debug-info
...
Add JediDebugInfo command: display used Python version
2015-08-20 10:32:38 +02:00
Dave Halter
261261af3d
Merge pull request #457 from blueyed/warn-auto-nvim-not-available
...
nvim: add a warning in case the auto-detected version is not functional
2015-08-20 10:28:57 +02:00
Dave Halter
d3484afe20
Merge pull request #442 from maxamillion/add_fedora
...
Add entry for Fedora Linux vim-jedi package
2015-08-09 13:51:45 +02:00
Dave Halter
b3978bc4aa
Merge pull request #431 from blueyed/fix-valueerror-cmdline-callsigs
...
Fix ValueError with cmdline call signatures
2015-07-01 03:09:27 +02:00
Dave Halter
133281a021
Merge pull request #430 from blueyed/no-use_tabs_not_buffers-by-default
...
Use use_tabs_not_buffers=0 by default
2015-06-26 14:09:04 +02:00
Dave Halter
bce599fc9c
Merge pull request #417 from blueyed/fix-rename
...
Fix rename behaviour with empty cword; honor b:changedtick
2015-05-14 11:05:53 +02:00
Dave Halter
0747189516
Merge pull request #407 from blueyed/goto-auto
...
Better goto functionality
2015-05-10 20:02:38 +02:00
Dave Halter
6025f59945
Dropping the dev branch. Changed the notes about using it. Fixes #406 .
2015-05-04 15:36:27 +02:00
Dave Halter
fb77981040
Merge pull request #403 from blueyed/fix-rename
...
Fix rename
2015-05-03 15:48:37 +02:00
Dave Halter
299c9b26d3
Merge pull request #401 from blueyed/reorder-jedi_vim
...
Reorder jedi_vim.py / improved error handling
2015-05-03 03:46:19 +02:00
Dave Halter
03805f87f5
Merge pull request #397 from blueyed/select-mode-mapping
...
Select mode mapping for completion trigger
2015-04-30 19:22:00 +02:00
Dave Halter
c38b549a95
Merge pull request #398 from blueyed/auto-config-in-plugin
...
auto-config: set completeopt only if it's the default
2015-04-30 16:56:05 +02:00
Dave Halter
78ac52a26e
Merge remote-tracking branch 'origin/dev'
2015-04-29 23:41:37 +02:00
Dave Halter
3b26cf376b
Merge pull request #396 from blueyed/fix-dot-completion-dev
...
Fix popup-on-dot completion: use <C-p> to deselect the first entry
2015-04-29 23:20:36 +02:00
Dave Halter
cc254432b6
Merge remote-tracking branch 'origin/dev'
2015-04-29 22:52:03 +02:00
Dave Halter
ae8a2505bc
Merge branch 'master' of github.com:davidhalter/jedi-vim
2015-04-29 22:40:10 +02:00
Dave Halter
839e1b5b85
We've had some issues in running the tests with vim-vspec > 1.4.1, so we're just defaulting to that.
2015-04-29 22:39:58 +02:00
Dave Halter
27df21c7bf
Merge pull request #393 from blueyed/better-builtin-error
...
Use `desc_with_module` in "Builtin modules cannot be displayed" error
2015-04-29 15:41:13 +02:00
Dave Halter
acdd711d84
Merge pull request #395 from blueyed/improve-tests
...
Improve tests: use pytest.fail
2015-04-29 15:40:40 +02:00
Dave Halter
9b11e70afe
Merge pull request #394 from blueyed/no-echoerr
...
Use "echohl WarningMsg" instead of "echoerr" in no_jedi_warning
2015-04-29 15:39:09 +02:00
Dave Halter
401731c98b
Merge branch 'dev' of github.com:davidhalter/jedi-vim
2015-04-28 19:43:14 +02:00
Dave Halter
b78f1d74c5
Merge branch 'master' of github.com:davidhalter/jedi-vim
2015-04-28 19:42:31 +02:00
Dave Halter
2bfae0acfa
Jedi 0.9.0 release.
2015-04-28 19:42:21 +02:00