Package: vim-youcompleteme / 0+20200825+git2afee9d+ds-2
Metadata
Package | Version | Patches format |
---|---|---|
vim-youcompleteme | 0+20200825+git2afee9d+ds-2 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
0001 Make hover request asynchronous.patch | (download) |
README.md |
46 45 + 1 - 0 ! |
[patch] make hover request asynchronous The hover request is enabled by default on CursorHold. It's not uncommon for &updatetime to be set to a small value for other plugings that update on CursorHold (even YCM used to do this). However, previously the Hover request was _blocking_. This meant that on a fairly large codebase, by default YCM could block Vim for many seconds particularly on startup. This is YCM anathema, and a big error. Therfore, as it's not easy to unwind the "enabled by default" decision, a better resolution is to make the request asynchronous. This change introduces a `youcompleteme#GetCommandResponseAsync` with the same behaviour as `youcompleteme#GetCommandResponse` but taking a callback to handle the result. This is in turn used by the YCMHover mapping and autocommand. |
0002 don t check file size on unsupported filetypes.patch | (download) |
autoload/youcompleteme.vim |
9 5 + 4 - 0 ! |
[patch] don't check file size on unsupported filetypes Previously, this was providing a false negatives. Now, if the filetype is not approved, we immediately return without trying to finish opening it. Signed-off-by: Kevin Morris <kevr.gtalk@gmail.com> |
0003 Clarifications for ycm_filter_diagnostics in README.patch | (download) |
README.md |
12 9 + 3 - 0 ! |
[patch] clarifications for ycm_filter_diagnostics in readme |
0004 Vimspector add schema.patch | (download) |
.vimspector.json |
1 1 + 0 - 0 ! |
[patch] vimspector add schema |
0005 fix coverage reports Make python coverage incrementa.patch | (download) |
test/lib/run_test.vim |
2 1 + 1 - 0 ! |
[patch] fix coverage reports: make python coverage incremental |
0006 Resolve completions on demand.patch | (download) |
README.md |
208 119 + 89 - 0 ! |
[patch] resolve completions on-demand This uses the `:help complete-popuphidden` API to show the info popup asynchronously when the user has configured vim to use the info popup. * we request the resolve on CompleteChanged * we already store the extra_data in the completion user data, so we just pull out the resolve key from there * when we have the resolved data, we call popup_findinfo() and then popup_settext() and popup_show() on that ID * we re-use the _latest_completion_request so that we don't have outstanding resolve and completion requests * we re-use the request_data from the completion request for efficiency and correctness (server will reject if the request data changes at all) we re-use the 'completion' poller, for the same reasons. There are some caveats: * We only want to do this if Vim supports it. * We only want to do this if completeopt contains popup (we add popuphidden ourselves). Otherwise, we just break the preview window Some items will already be resolved, so we don't want to waste time re-resolving * We should provide a way to turn off this async resolve in case the delay is too much or it's buggy. We use g:ycm_max_num_candidates_to_resolve for this with -1 meaning no limit (the current behaviour). We force the value of this to 10 if we're going to do async resolve. This is a sort of cheap 'capabilities' implementation for this feature. To ensure vim supports it, we update the minimum version of vim to the latest ubuntu LTS and update the docker image to run tests against that too.This does mean we need to special-case neovim in a couple of places as it reports its version as 800, but will work as before. |
0007 Update ycmd.patch | (download) |
README.md |
162 121 + 41 - 0 ! |
[patch] update ycmd. This pulls in the following chnages: * GoToSymbol for typescript * RefactorRename for python * Switch from RLS to RA * Drop Python 3.5 support in the server * Lots of completer version updates * Minor build/instal fixes * javascriptreact support * Signature help offset support * Correctly supplying ranges for CodeActions * Support for TCP LSP connections * Support for configuration sections in LSP * Support for deferred resolve in LSP |
0008 Simplify diagnostic filter.patch | (download) |
python/ycm/diagnostic_filter.py |
41 6 + 35 - 0 ! |
[patch] simplify diagnostic filter |
0009 fix a typo in README.md.patch | (download) |
README.md |
2 1 + 1 - 0 ! |
[patch] fix a typo in readme.md |
0010 Update vim help.patch | (download) |
doc/youcompleteme.txt |
526 321 + 205 - 0 ! |
[patch] update vim help |
0011 Correct go docs.patch | (download) |
README.md |
6 3 + 3 - 0 ! |
[patch] correct go docs |
0012 Update minimal vimrc to add encoding.patch | (download) |
vimrc_ycm_minimal |
11 11 + 0 - 0 ! |
[patch] update minimal vimrc to add encoding |
0013 Add WSL instructions.patch | (download) |
test/README.md |
20 19 + 1 - 0 ! |
[patch] add wsl instructions. |
0014 Fix formatting.patch | (download) |
test/README.md |
2 1 + 1 - 0 ! |
[patch] fix formatting |
0015 Allow completion on a buffer without filetype.patch | (download) |
autoload/youcompleteme.vim |
5 4 + 1 - 0 ! |
[patch] allow completion on a buffer without filetype Introduce "fake" filetype `ycm_nofiletype` that is used to handle all buffers without filetype. |
0016 Fix typos.patch | (download) |
test/README.md |
4 2 + 2 - 0 ! |
[patch] fix typos * fix "plguin" * fix ***NOT** -- in vim markdown it spans for the rest of the file making it bold_italic. |
0017 Swallow TypeError when omnicompleter puts garbage in.patch | (download) |
python/ycm/client/resolve_completion_request.py |
2 1 + 1 - 0 ! |
[patch] swallow typeerror when omnicompleter puts garbage in item["user_data"] |
0018 Highlight diagnostics with low priority to allow hls.patch | (download) |
python/ycm/tests/test_utils.py |
2 1 + 1 - 0 ! |
[patch] highlight diagnostics with low priority, to allow hlsearch to work |
0019 Allow supressing the quickfix height changes.patch | (download) |
python/ycm/tests/test_utils.py |
5 4 + 1 - 0 ! |
[patch] allow supressing the quickfix height changes This allows the quickfix to be made vertical, with au FileType qf let b:ycm_no_resize = 1 <bar> wincmd L Using the YcmQuickFixOpened/YcmLocationOpened can work (with wincmd _), but this messes up the layout of split windows, e.g.: :au User YcmQuickFixOpened wincmd _ :split :YcmCOmpleter GoToSymbol User This breaks the layout of the 2 splits (as YCM first resizes the quickfix window with its own command, thust increasing cmdheight to &lines - <new height>) |
0020 Use python3 for vimspector.patch | (download) |
.vimspector.json |
2 1 + 1 - 0 ! |
[patch] use python3 for vimspector |
0021 Fix signature help traceback when using preview popu.patch | (download) |
README.md |
18 18 + 0 - 0 ! |
[patch] fix signature help traceback when using preview popup When we made YCM parse buffers with no filetype, this ended up including the buffers within things like popups. Unfortuantely this leads to a problem that we call "ClearSignatureHelp" from within "FileReadyToParse". If the "FileReadyToParse" in question was within a popup, we ge an error "Not valid in popup window" (referring to a call to popup_close()) and vim gets in a very bad state. it's not obvious how to solve this in the general case, but for now as completion in non-filetype buffers is new and rare, we Blacklist enpty buffers by default to work around the bug. We allow users to explicitly enable it (and suffer this bug!) by explicitly whiteliisting it again in ycm_filetype_whitelist. Added a test which shows that it works when ycm_nofiletyp is blacklisted, and another test which exercises the (still) broken behaviour, when ycm_nofiletype is whitelisted. |
0022 Add way to backup restore setting in tests.patch | (download) |
test/completion.common.vim |
16 8 + 8 - 0 ! |
[patch] add way to backup/restore setting in tests Added youcompleteme#test#setup#PushGlobal and PopGlobal, used in SetUp and TearDown fixtures for individual test funcitons. |
0023 Minimum requirements will change . soon.patch | (download) |
README.md |
13 13 + 0 - 0 ! |
[patch] minimum requirements will change .. soon. |
0024 We will still support building with clang 7.patch | (download) |
README.md |
2 1 + 1 - 0 ! |
[patch] we will still support building with clang 7 |
00 path to server script.patch | (download) |
autoload/youcompleteme.vim |
20 2 + 18 - 0 ! |
use debian's ycmd package locations for ycmd. We neither have the third_party directory for vim-youcompleteme nor for ycmd, so we can't import them and we don't want to either. . This means we can drop lots and lots of complicated code as we know by virtue of dependencies where everything is and that it is good |
01 allow tests to be run.patch | (download) |
python/ycm/tests/paths_test.py |
39 0 + 39 - 0 ! |
use debian's ycmd package locations for ycmd in tests We neither have the third_party directory for vim-youcompleteme nor for ycmd, so we can't import them and we don't want to either. . The two python tests are removed as we have always Python installed in Debian due to dependencies and the tests can for some reason not override this properly. |
02 use old hamcrest api for tests.patch | (download) |
python/ycm/tests/command_test.py |
10 5 + 5 - 0 ! |
use old pyhamcrest api in tests Upstream has switched away from the deprecated contains() in favour of contains_exactly(), but this is not included yet in the version of pyhamcrest packaged in Debian, so this patch switches back to the old API to decouple us from the pyhamcrest update. . The patch was autogenerated by: sed -i 's#contains_exactly#contains#g' python/ycm/tests/*.py |
03 do not override unset ycmd settings.patch | (download) |
README.md |
80 53 + 27 - 0 ! |
load ycmd default settings from its default_settings.json Upstream prefers to keep the configuration in one place, but as Debian has |