Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fork updates from ycm-core/YouCompleteMe master #32

Open
wants to merge 310 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
310 commits
Select commit Hold shift + click to select a range
21ce3c1
exch diagnostic - ensure we clean up the padding
puremourning Aug 19, 2022
cdb8ae8
echo diagnostic - fix neovim
puremourning Aug 19, 2022
80d2709
Fix test after changing ID base
puremourning Aug 19, 2022
ef4e84a
Reduce stutter by halving the redraws when typing
puremourning Aug 20, 2022
7b59f99
diag virtual-text: Fix disabling of diagnostic updates in insert mode
puremourning Aug 20, 2022
a2410f6
inlay hints - toggle on/off and improve clear perf
puremourning Aug 20, 2022
51049ea
Fix insert toggline with manual toggling, and document them
puremourning Aug 20, 2022
55a6199
Use a little marker for the diag text
puremourning Aug 20, 2022
3525749
Update ycmd to head fork commit
puremourning Aug 20, 2022
c5f901d
update docs: jedi refactoring
puremourning Aug 20, 2022
1e44044
bump the vim requirement for virtual text a little further
puremourning Aug 20, 2022
0d58867
Update ycmd
puremourning Aug 20, 2022
8a29611
Merge branch 'master' into inlay-hints
mergify[bot] Aug 20, 2022
cd8f955
Merge pull request #4045 from puremourning/inlay-hints
mergify[bot] Aug 20, 2022
535ff84
Don't try to clear inlay hints if not enabled
puremourning Aug 20, 2022
3f078ae
Update ycmd
puremourning Aug 21, 2022
37b64d5
Reduce calls to prop_remove
puremourning Aug 21, 2022
0dc8989
Merge pull request #4047 from puremourning/inlay-hints
mergify[bot] Aug 21, 2022
052415e
Inlay hints: Stop trying to be clever about clearing the right range.…
Aug 24, 2022
2965595
Merge pull request #4050 from puremourning/inlay-dont-restrict
mergify[bot] Aug 24, 2022
7c3a88f
Update ycmd
puremourning Aug 24, 2022
d74e097
Fix passing '+10' etc on command line in older vims.
puremourning Aug 27, 2022
c1a8a81
Merge pull request #4053 from puremourning/fix-startup-commands-wierd…
mergify[bot] Aug 27, 2022
d9d7541
Fix traceback when a long identifier is displayed in finder
puremourning Aug 28, 2022
d4343e8
Merge pull request #4054 from puremourning/fix-finder-no-lno
mergify[bot] Aug 29, 2022
51a11f9
Update ycmd : update jdtls
puremourning Sep 22, 2022
8a8072a
jdt.ls requires java 17 now
puremourning Sep 22, 2022
393e361
Merge pull request #4066 from puremourning/update-ycmd
mergify[bot] Sep 22, 2022
fb29fe8
Fix finder highlight when cursorlineopt is not the default
puremourning Sep 22, 2022
cdd88b5
Merge pull request #4067 from puremourning/fix-cursorlineopt
mergify[bot] Sep 22, 2022
8c173bc
Fix glibc version typo in README
puremourning Sep 27, 2022
337f89f
Update ycmd
puremourning Oct 6, 2022
a08a0b9
Update clang version
puremourning Oct 6, 2022
99ccab2
Merge pull request #4073 from puremourning/update-ycmd
mergify[bot] Oct 6, 2022
728b477
Fix errors when adding inlay hints
puremourning Nov 1, 2022
caad4a3
Update vim doc
puremourning Nov 12, 2022
5892426
Auto update vim docs
puremourning Nov 12, 2022
cf8ea40
Merge pull request #4079 from puremourning/vim-doc
puremourning Nov 12, 2022
1702de0
Update README.md
puremourning Nov 12, 2022
28c3299
Fix typo in README ("Hightly" -> "Highly")
jasper1378 Nov 18, 2022
2ba8e8d
Fix 2 minor typos in README
jasper1378 Nov 18, 2022
c32f0e8
Merge pull request #4082 from jasper1378/patch-2
puremourning Nov 19, 2022
6827c6d
Merge pull request #4081 from jasper1378/patch-1
puremourning Nov 19, 2022
4e80825
Update vim docs
puremourning Nov 19, 2022
2d1de48
Merge pull request #4080 from VimspectorUpdateBot/auto/update-vim-docs
mergify[bot] Nov 19, 2022
c5190c6
Document 'FixIt' capability to refactor
KKoovalsky Dec 10, 2022
b738cba
Document: refactoring feature as separate bullet
KKoovalsky Dec 10, 2022
7bcd91b
Fix typo
KKoovalsky Dec 10, 2022
6171e6f
Document: Add FixIt demos
KKoovalsky Dec 10, 2022
0b158e0
Merge pull request #4094 from KKoovalsky/master
puremourning Dec 10, 2022
e01bb2e
Update vim docs
puremourning Dec 10, 2022
508b8c6
Merge pull request #4095 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Dec 10, 2022
060c564
sometimes changedtick doesn't return a value
puremourning Nov 12, 2022
c6e80b0
Provide a way to manually trigger YCM's completions
puremourning Dec 14, 2022
5182b1e
Fix tests
puremourning Dec 14, 2022
f32d210
Don't use ?? expression as it's too new
puremourning Dec 14, 2022
3123c26
Add some basic tests
puremourning Dec 14, 2022
88efc6f
Merge pull request #4097 from puremourning/manually-trigger
mergify[bot] Dec 14, 2022
70c2a50
Update vim docs
mergify[bot] Dec 14, 2022
5712fb4
Update ycmd + increase python requirement to 3.10
puremourning Jan 3, 2023
3ec309f
Update readme for GoToAlternateFile
puremourning Jan 3, 2023
0bf2448
Use string for python version in CI
puremourning Jan 3, 2023
d9eaeb4
Merge pull request #4098 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Jan 3, 2023
771e5f2
Actually 3.8 will have to do for now
puremourning Jan 3, 2023
331b1f3
Adopt is now temurin
puremourning Jan 3, 2023
99ab758
Add back in windows 32bit tests
puremourning Jan 3, 2023
34a7049
Fix mergify and re-set windows test versions because faff
puremourning Jan 3, 2023
0330309
Merge pull request #4110 from puremourning/update-ycmd
puremourning Jan 3, 2023
5dd3371
Update vim docs
puremourning Jan 3, 2023
6cc4533
Merge pull request #4111 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Jan 3, 2023
3706abd
Fix invalid end_lnum field in diagnose['ranges']
Jan 14, 2022
7620d87
Merge pull request #4091 from Chilledheart/accept_invalid_end_lnum_field
mergify[bot] Jan 9, 2023
8542320
Hide diagnostics UI when entering Insert Mode
Jan 16, 2023
5b6d404
Actually fix the problem where changedtick is ''
puremourning Jan 16, 2023
f1d425d
Merge pull request #4117 from puremourning/hide-diags-in-insert-mode
mergify[bot] Jan 17, 2023
5e7e1f4
Don't change the cursor position if GoTo doesnt have one
puremourning Jan 17, 2023
d088110
Merge pull request #4118 from puremourning/dont-change-cursor-pos-for…
mergify[bot] Jan 17, 2023
b494cd4
Update ycmd
puremourning Jan 17, 2023
229f0c5
Merge pull request #4119 from puremourning/update-ycmd
mergify[bot] Jan 17, 2023
eb82e6f
Update vim docs
mergify[bot] Jan 17, 2023
50379d3
Merge pull request #4120 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Jan 17, 2023
f1b4b90
Fix traceback when diagnostics contain quotes
puremourning Feb 5, 2023
11e9358
retry failed vim tests. they are kinda flaky
puremourning Feb 6, 2023
6907f33
Wait even longer for jedi
puremourning Feb 6, 2023
79c0582
Comment out tests which are currently too slow to run in CI
puremourning Feb 7, 2023
921809c
Build containers for current architecture
puremourning Feb 6, 2023
9a5eb44
Merge pull request #4126 from puremourning/fix-diag-popup-quoting
mergify[bot] Feb 7, 2023
915fc22
Use macOS 12 in CI
puremourning Feb 21, 2023
b1a9de9
Note on vundle
puremourning Feb 27, 2023
3a1e62b
Update vim docs
puremourning Feb 27, 2023
0de94d1
Merge pull request #4135 from VimspectorUpdateBot/auto/update-vim-docs
mergify[bot] Feb 27, 2023
230f28d
Merge pull request #4132 from puremourning/ci-macos-update
puremourning Mar 9, 2023
aaebb55
Update ycmd
puremourning Mar 9, 2023
1877209
Add the ability to pass popup_params when creating a custom ycm_hover
eliasdaler Mar 17, 2023
a31e9ac
Formatting fixes, limit popup_params scope
eliasdaler Mar 17, 2023
1852bd7
Code review fixes
eliasdaler Mar 18, 2023
6ba9842
Update docs
eliasdaler Mar 18, 2023
a4a869c
Fix wrap
eliasdaler Mar 20, 2023
52ff5a3
Yet more attempts to catch 'changedtick' returning ''
puremourning Mar 13, 2023
d0657bb
Merge pull request #4137 from eliasdaler/master
mergify[bot] Mar 20, 2023
69e9803
Merge branch 'master' into changedtick-empty
mergify[bot] Mar 20, 2023
9f4d101
Merge pull request #4139 from puremourning/changedtick-empty
mergify[bot] Mar 20, 2023
eb3f3be
Update sponsorship
puremourning Apr 6, 2023
238ae7e
Update vim docs
puremourning Apr 6, 2023
b3e8838
Merge pull request #4141 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Apr 6, 2023
3bc38f8
Update to clang 16.0.1
puremourning Apr 17, 2023
61e6ddf
Migrate away from codecov pypi packgage
puremourning Apr 17, 2023
5ccce0e
REmove FreeBSD/OpenBSD support
puremourning Apr 17, 2023
3a052e6
Clangd now returns a bucnh of stdlib suggestions we don't want to che…
puremourning Apr 17, 2023
0d387ad
Merge pull request #4144 from puremourning/update-clang-16
puremourning Apr 17, 2023
f4acda0
Update vim docs
puremourning Apr 17, 2023
f451807
Fix traceback in neovim when changin tabs; use WindowID rather than w…
puremourning Apr 19, 2023
78ba06e
Merge pull request #4146 from puremourning/fix-loclist-tabs
puremourning Apr 19, 2023
25296a6
Reduce overhead of semantic highlighting (part 1)
puremourning Jun 10, 2023
724218e
Grow the requested range based on what we receive
puremourning Jun 10, 2023
d1924ac
make finder test more robust
puremourning Jun 11, 2023
187489d
Enable semantic highlighting in some tests; just make sure that we do…
puremourning Jun 11, 2023
49ced5a
Merge pull request #4150 from puremourning/semantic-highlighting-opti…
puremourning Jun 12, 2023
f93c2e9
Merge pull request #4145 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Jun 27, 2023
f8af00f
Use execute() rather than redir to avoid clearing the splash screen o…
puremourning Jul 5, 2023
dd419e5
Accept command modifiers (mods) for GetDoc subcommand
puremourning Jul 5, 2023
7d3e6db
Add option to disable signature help syntax highlights
puremourning Jul 5, 2023
e35c131
Merge pull request #4155 from puremourning/getdoc-mods
mergify[bot] Jul 5, 2023
681ab23
Update vim docs
mergify[bot] Jul 5, 2023
95a5d54
Merge pull request #4158 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Jul 5, 2023
f994844
Merge branch 'master' into dont-clear-screen-syntax
mergify[bot] Jul 6, 2023
142a559
Merge pull request #4156 from puremourning/dont-clear-screen-syntax
mergify[bot] Jul 6, 2023
1ca1512
Fix custom text properties for semantic highlighting
puremourning Jul 19, 2023
f09c2f6
Merge pull request #4164 from ycm-core/fix-custom-props-semantic-high…
mergify[bot] Jul 19, 2023
ff4ce17
Fixes spelling and grammar errors
H4ppy-04 Jul 25, 2023
a2e6736
Merge pull request #4157 from puremourning/sig-help-disable-syntax
mergify[bot] Aug 18, 2023
b9cf4f5
Update vim docs
mergify[bot] Aug 18, 2023
18fa0f4
Merge pull request #4173 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Aug 18, 2023
def83f9
Fix typos in readme
Aster89 Aug 18, 2023
e949df3
Merge pull request #4174 from Aster89/typos
mergify[bot] Aug 19, 2023
2e8b209
Update all actions
bstaletic Aug 19, 2023
4f1dcf4
Merge pull request #4175 from bstaletic/new_actions
puremourning Aug 19, 2023
f742ecb
Address #4165: provide a highlight group for the detailed diagnostic …
Aster89 Jul 22, 2023
6a41236
Replace tabs with spaces when echoing a message
bstaletic Sep 10, 2023
c400db0
Merge pull request #4183 from bstaletic/echo-tab-space
mergify[bot] Sep 10, 2023
abea6de
Merge pull request #4166 from Aster89/master
mergify[bot] Sep 12, 2023
a04132c
Update vim docs
mergify[bot] Sep 12, 2023
127646b
Merge pull request #4185 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Sep 12, 2023
d40e1ef
Update setup-java action
bstaletic Sep 13, 2023
91ee858
Merge pull request #4186 from bstaletic/ci-warn
mergify[bot] Sep 14, 2023
66a35b2
Note about gopls settings being documented now.
puremourning Sep 27, 2023
4b0489f
Fix syntax of gopls options in doc
puremourning Sep 27, 2023
6b6354f
Update vim docs
puremourning Sep 27, 2023
3367b9b
Merge pull request #4189 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Sep 27, 2023
dd42e51
Update to new ycmd
bstaletic Oct 2, 2023
bf0dbea
Merge pull request #4190 from bstaletic/new-ycmd
mergify[bot] Oct 3, 2023
a239ddd
Update vim docs
mergify[bot] Oct 3, 2023
4b3df69
Handle possible errors from RangeVisibleInBuffer()
bstaletic Oct 4, 2023
88ed5a7
Merge pull request #4192 from bstaletic/errors-from-range-visible-in-…
mergify[bot] Oct 4, 2023
9e02cfa
Do not echo diagnostics in virtual-text when update_diagnostics_in_in…
bstaletic Sep 19, 2023
1d15b86
Make sure to refresh diagnostic UI on InsertLeave
bstaletic Sep 19, 2023
456b469
Add tests for diagnostics clearing in insert mode
bstaletic Oct 6, 2023
cc9a3ae
Merge pull request #4187 from bstaletic/diag-fixes-pt1
mergify[bot] Oct 6, 2023
302d41e
Merge pull request #4191 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Dec 21, 2023
c28772a
Merge branch 'master' into patch-1
H4ppy-04 Dec 23, 2023
07e3ae9
Add instructions for use with .NET 6.0
dkaszews Dec 10, 2023
a0d670d
Update ycmd to fix g:ycm_roslyn_binary_path
dkaszews Dec 27, 2023
79e3753
Fix Vim tests
puremourning Dec 28, 2023
ae07211
Merge pull request #4205 from dkaszews/readme-net6
mergify[bot] Dec 28, 2023
a82f451
Update vim docs
mergify[bot] Dec 28, 2023
7b83740
Merge pull request #4207 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Dec 28, 2023
a5595e7
Properly handle diag text property length in multiline diags
bstaletic Nov 5, 2023
d2abd15
Store multiline diags for each line they appear on
bstaletic Nov 5, 2023
20d08a2
Update minimum vim version
bstaletic Dec 26, 2023
ad9fe2e
Merge pull request #4199 from bstaletic/diag-popup-multiline
mergify[bot] Dec 28, 2023
430ae85
Make switching to semantic completer work after select ID completer c…
bstaletic Dec 29, 2023
71166ea
Merge pull request #4208 from bstaletic/id_semantic_switch_mess
mergify[bot] Dec 30, 2023
2d84788
Merge branch 'master' into patch-1
mergify[bot] Jan 4, 2024
f94f8eb
Merge pull request #4168 from Trivoz/patch-1
mergify[bot] Jan 4, 2024
dda1eaa
Update vim docs
mergify[bot] Jan 4, 2024
79c850b
Merge pull request #4211 from VimspectorUpdateBot/auto/update-vim-docs
puremourning Jan 5, 2024
9dee4c4
Fix display of special characters in finder popups
bstaletic Jan 9, 2024
2b33bf3
Merge pull request #4215 from bstaletic/finder-special-characters
mergify[bot] Jan 14, 2024
06aa107
Take care of start column in multiline diags for detailed diag popups
bstaletic Jan 31, 2024
c55e732
Merge pull request #4218 from bstaletic/detailed-diag-popup-part2-ele…
mergify[bot] Feb 1, 2024
cea2458
Handle multiple identical diagnostics in YcmShowDetailedDiagnostic popup
bstaletic Feb 3, 2024
0497bb0
Merge pull request #4219 from bstaletic/detailed-diag-popup-revenge-o…
mergify[bot] Feb 3, 2024
a73fbdf
Correct a few typos in comments
JJCUBER Feb 4, 2024
1212def
Merge pull request #4220 from JJCUBER/patch-1
mergify[bot] Feb 5, 2024
36a1a54
Stop auto hover timer if buffer changes or cursor moves
bstaletic Oct 6, 2023
05bbb07
Merge pull request #4193 from bstaletic/hover-traceback
mergify[bot] Feb 14, 2024
cd48033
Handle scrolling when hover popup is open
bstaletic Jan 2, 2024
f078924
Merge pull request #4209 from bstaletic/popup_scrolling
mergify[bot] Feb 14, 2024
b6a327e
Update ycmd submodule
bstaletic Feb 18, 2024
ce0900f
New JDT once again reordered ranged fixits
bstaletic Feb 18, 2024
c3c0332
Merge pull request #4222 from bstaletic/post-ycmd-update-fix
mergify[bot] Feb 18, 2024
3b607df
Remove extra backtick
mauricesvp Mar 4, 2024
d088ff7
Merge pull request #4225 from mauricesvp/patch-1
mergify[bot] Mar 4, 2024
5a2b587
Update vim docs
mergify[bot] Mar 4, 2024
4556062
Merge pull request #4226 from VimspectorUpdateBot/auto/update-vim-docs
mergify[bot] Mar 20, 2024
dbcca3d
Preliminary type/call hierarchy support
bstaletic Feb 10, 2024
93833dc
Clean up API
bstaletic Feb 11, 2024
705803a
Allow both directions at the same time - me is happy
bstaletic Feb 11, 2024
729806c
Support changing the current hierarchy root node
bstaletic Feb 11, 2024
fcf89f0
Add bindings for hierarchies
bstaletic Feb 11, 2024
65456b2
flake8
bstaletic Feb 11, 2024
08353bc
Fix error using mappings: <Cmd> mappings must end with <CR>
puremourning May 11, 2024
0ce21e2
Avoid vim backtrace when no target description
bstaletic May 11, 2024
f1937cf
Close the popup when non-handled key pressed
puremourning May 11, 2024
c217e66
Basic popup aesthetics
puremourning May 11, 2024
72026b3
Tidy handles: wrap in some little functions
puremourning May 11, 2024
6ca4659
Style the hierarchy popup like the finder popup
puremourning May 13, 2024
ea6cb61
Trim leading/trailing whitespace from description
puremourning May 13, 2024
fa73852
Explain offsets
puremourning May 13, 2024
3376c05
Use correct bottom-right border character as we don't actually allow …
puremourning May 13, 2024
2a68752
Log server exceptoins
puremourning May 13, 2024
9d8d267
flake8
bstaletic May 14, 2024
6c3832d
Avoid nasty crashes in othervim
puremourning May 17, 2024
3702f46
Update README for type hierarchy; graduate some features
puremourning May 17, 2024
489dcb1
Avoid skip_post_command_action hack when making Hierarchy request
bstaletic Jun 9, 2024
8888bbe
Fix re-rooting of call/type hierarchies
bstaletic Jun 9, 2024
546b050
Simplify getting a raw response from a completer command
bstaletic Jun 10, 2024
31f6517
Fix re-rooting from incoming calls to outgoing calls
bstaletic Jun 11, 2024
67c02b8
Fix sending requests for a location in an unloaded buffer
bstaletic Jun 11, 2024
e354a54
Properly calculate selection offset when expanding hierarchy upwards
bstaletic Jun 11, 2024
5e03ee0
Fix python tests... again
bstaletic Jun 11, 2024
bbd0f03
Handle vim erros when invoking `:badd` and `bufload()`
bstaletic Jun 12, 2024
866128c
Flake8 fixes
bstaletic Jun 12, 2024
53f4a42
Add vim tests for hierarchies
bstaletic Jun 12, 2024
f05f89e
Update ycmd submodule
bstaletic Jun 18, 2024
87939d6
Fix vim tests for hierarchies
puremourning Jun 19, 2024
2eff94b
Remove use of indexof()
puremourning Jun 19, 2024
ac002d5
Clean up hierarchies.test.vim
bstaletic Jun 19, 2024
25ec3c9
Clean up BuildRequestDataForLocation
bstaletic Jun 19, 2024
3a5ee90
Merge pull request #4221 from bstaletic/hierarchies
mergify[bot] Jun 20, 2024
6757a75
Update vim docs
mergify[bot] Jun 20, 2024
b5fe27b
Merge pull request #4241 from VimspectorUpdateBot/auto/update-vim-docs
mergify[bot] Jun 20, 2024
52618ae
remove usage of walrus operator
Jul 4, 2024
5d8a7fe
Update CI config
bstaletic Jun 20, 2024
0af031d
Add new semantic token types
bstaletic May 10, 2024
f67e5e6
Merge pull request #4232 from bstaletic/new-semantic-token-types
mergify[bot] Aug 15, 2024
4ca5b45
Update README.md
fatihaktas845 Apr 22, 2024
0d85596
Update vim docs
bstaletic Aug 17, 2024
7f0ef0e
Update ycmd submodule
msteffen Aug 21, 2024
b6e8c64
Merge pull request #4259 from msteffen/master
mergify[bot] Aug 27, 2024
dd365b2
Bump vim requirement to version 9.1.0016
bstaletic Aug 28, 2024
57e27fe
Update Docker image
bstaletic Aug 28, 2024
10b274c
Fix pip not allowing install outside a virtual env
bstaletic Aug 29, 2024
e177cb4
Update test dependencies
bstaletic Sep 11, 2024
4654e1b
Update vim docs
bstaletic Sep 12, 2024
80728a1
Merge pull request #4262 from VimspectorUpdateBot/auto/update-vim-docs
mergify[bot] Sep 12, 2024
d517711
Use setlocal for temporary completeopt adjustment
bstaletic Sep 13, 2024
63ab13e
Merge pull request #4264 from bstaletic/buffer-local-completeopt
mergify[bot] Sep 14, 2024
172ffe5
Fix typos in the code of conduct
hagau Oct 9, 2024
35d1882
Merge pull request #4270 from hagau/fix_typo_in_coc
puremourning Oct 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 31 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,67 +12,79 @@ jobs:
strategy:
fail-fast: false
matrix:
runs-on: [ ubuntu-20.04, macos-10.15, windows-2019 ]
runs-on: [ ubuntu-24.04, macos-14, windows-2019 ]
python-arch: [ 'x64' ]
python-version: [ 3.6 ]
include:
- runs-on: macos-14
python-arch: 'arm64'
- runs-on: windows-2019
python-arch: 'x86'
python-version: 3.9
- runs-on: windows-2019
python-arch: 'x64'
python-version: 3.9
exclude:
- runs-on: windows-2019
python-arch: 'x64'
python-version: 3.6
- runs-on: macos-14
python-arch: "x64"
env:
COVERAGE: true
name: "${{ matrix.runs-on }} - Python ${{ matrix.python-version }} ${{ matrix.python-arch }}"
name: "${{ matrix.runs-on }} - Python 3.9 ${{ matrix.python-arch }}"
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: "3.9"
architecture: ${{ matrix.python-arch }}
- name: Run pip
run: python3 -m pip install -r python/test_requirements.txt
- name: Run tests
run: python3 run_tests.py --quiet python/ycm/tests
- name: summarise coverage
run: coverage xml
- name: Upload coverage data
run: codecov --name "${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.python-arch }}"
uses: codecov/codecov-action@v4
with:
name: "${{ runner.os }}-3.9-${{ matrix.python-arch }}"
token: ${{ secrets.CODECOV_TOKEN }}

vim-tests:
strategy:
fail-fast: false
matrix:
vim: [ 'new', 'old' ]
arch: [ 'x86_64' ]
runs-on: ubuntu-20.04
container: 'youcompleteme/ycm-vim-py3:test'
container: 'youcompleteme/ycm-vim-${{ matrix.arch }}-py3:test'
env:
COVERAGE: true
YCM_TEST_STDOUT: true
name: "Vim tests - ${{ matrix.vim }}"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Install dependencies
run: sudo -H pip3 install -r python/test_requirements.txt
run: sudo -H pip3 install --break-system-packages -r python/test_requirements.txt
- name: Install Java
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
- name: Build ycmd
run: python3 ./install.py --ts-completer --clangd-completer --java-completer
run: python3 ./install.py --force-sudo --ts-completer --clangd-completer --java-completer
- name: Run tests in old vim
# System vim should be oldest supported.
if: matrix.vim == 'old'
run: ./test/run_vim_tests --vim /usr/bin/vim
- name: Run tests in new vim
if: matrix.vim == 'new'
run: ./test/run_vim_tests
- name: Combine and summarise coverage
run: coverage combine && coverage xml
- name: Upload coverage data
run: codecov --name "vim-tests-${{ matrix.vim }}"
uses: codecov/codecov-action@v4
with:
name: "vim-tests-${{ matrix.vim }}"
token: ${{ secrets.CODECOV_TOKEN }}
35 changes: 35 additions & 0 deletions .github/workflows/update_vim_docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Update vim docs"

on:
push:
branches:
- master
paths:
- 'README.md'
workflow_dispatch:

jobs:
update-vim-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'Update local repo'
run: './update-vim-docs'
- name: 'Check diffs'
run: 'git diff'
- name: 'Create pull request'
uses: peter-evans/create-pull-request@v4
id: cpr
with:
token: ${{ secrets.VIMSPECTOR_UPDATE_BOT_PAT }}
push-to-fork: VimspectorUpdateBot/YouCompleteMe
commit-message: "Update vim docs"
branch: 'auto/update-vim-docs'
delete-branch: true
title: "[Auto] Update vim docs"
body: "Update the vim docs after recent changes"
labels: "auto"
- name: Check outputs
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
49 changes: 37 additions & 12 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ queue_rules:
- name: default
# These define the conditions to get out of the merge queue
conditions:
- status-success=ubuntu-20.04 - Python 3.6 x64
- status-success=macos-10.15 - Python 3.6 x64
- status-success=ubuntu-24.04 - Python 3.9 x64
- status-success=macos-14 - Python 3.9 arm64
- status-success=windows-2019 - Python 3.9 x64
- status-success=windows-2019 - Python 3.9 x86
- status-success=Vim tests - new
Expand All @@ -15,24 +15,25 @@ pull_request_rules:
conditions:
- base=master
- "#approved-reviews-by>=2"
- status-success=ubuntu-20.04 - Python 3.6 x64
- status-success=macos-10.15 - Python 3.6 x64
- status-success=ubuntu-24.04 - Python 3.9 x64
- status-success=macos-14 - Python 3.9 arm64
- status-success=windows-2019 - Python 3.9 x64
- status-success=windows-2019 - Python 3.9 x86
- status-success=Vim tests - new
- status-success=Vim tests - old
- status-success=code-review/reviewable
actions:
actions: &merge-actions
queue:
method: merge
name: default
comment:
message: Thanks for sending a PR!

- name: Manual merge on Azure Pipelines and Maintainer Override
conditions:
- base=master
- status-success=ubuntu-20.04 - Python 3.6 x64
- status-success=macos-10.15 - Python 3.6 x64
- status-success=ubuntu-24.04 - Python 3.9 x64
- status-success=macos-14 - Python 3.9 arm64
- status-success=windows-2019 - Python 3.9 x64
- status-success=windows-2019 - Python 3.9 x86
- status-success=Vim tests - new
Expand All @@ -43,8 +44,32 @@ pull_request_rules:

- label="Ship It!"
actions:
queue:
method: merge
name: default
comment:
message: Thanks for sending a PR!
<<: *merge-actions

- name: Manual merge on Pipelines and Maintainer Override from owner PR
conditions:
- base=master
- author=puremourning
- status-success=ubuntu-24.04 - Python 3.9 x64
- status-success=macos-14 - Python 3.9 arm64
- status-success=windows-2019 - Python 3.9 x64
- status-success=windows-2019 - Python 3.9 x86
- status-success=Vim tests - new
- status-success=Vim tests - old

- "#changes-requested-reviews-by=0"
- label="Ship It!"
actions:
<<: *merge-actions

- name: Merge auto pr when approved
conditions:
- author=VimspectorUpdateBot
- label=auto
- base=master
# Review
- status-success=code-review/reviewable
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
actions:
<<: *merge-actions
7 changes: 4 additions & 3 deletions .vimspector.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,19 @@
"type": "debugpy",
"request": "launch",

"cwd": "${workspaceRoot}/python",
"cwd": "${workspaceRoot}",
"stopOnEntry": false,
"console": "integratedTerminal",
"justMyCode": true,
"logToFile": true,
"showReturnValue": true,

"debugOptions": [],

"module": "pytest",
"module": "unittest",
"python": "${python}",
"args": [
"-v",
"--tb=native",
"${Test}"
],
"env": {
Expand Down
4 changes: 2 additions & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
We, the maintainers, pledge to treat all contributors with respect and require that contributors reciprocate.

The maintainers will not tolerate unwelcome, inpolite, abusive or unprofessional behaviour.
The maintainers will not tolerate unwelcome, impolite, abusive or unprofessional behaviour.

At the discretion of the maintainers, users who persist in behaving in a way that is unwelcome may be subject to a ban.

This applies to all interractions related to this project and any associated projects.
This applies to all interactions related to this project and any associated projects.
Loading