Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3955014

Browse files
committed
Copilot.vim 1.50.0
1 parentd1e8429 commit3955014

File tree

10 files changed

+562
-469
lines changed

10 files changed

+562
-469
lines changed

‎autoload/copilot.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ function! s:commands.setup(opts) abort
666666
callinput(codemsg ."Press ENTER to open GitHub in your browser\n")
667667
let request=copilot#Request('workspace/executeCommand', data.command)
668668
endif
669-
calls:Echo("Waiting for" . data.userCode ." at" . uri ." (could take up to10 seconds)")
669+
calls:Echo("Waiting for" . data.userCode ." at" . uri ." (could take up to5 seconds)")
670670
call request.Wait()
671671
finally
672672
ifexists('mouse')
@@ -789,7 +789,7 @@ function! copilot#Command(line1, line2, range, bang, mods, arg) abort
789789
if opts.status!=#'OK'&& opts.status!=#'MaybeOK'
790790
let cmd='setup'
791791
else
792-
let cmd='panel'
792+
let cmd='status'
793793
endif
794794
catch
795795
callcopilot#logger#Exception()

‎autoload/copilot/panel.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ endfunction
111111

112112
function!s:Initialize(state)abort
113113
try
114-
let &l:filetype='copilot' . (empty(a:state.filetype) ?'' :'.' .a:state.filetype)
114+
let &l:filetype='copilotpanel' . (empty(a:state.filetype) ?'' :'.' .a:state.filetype)
115115
catch
116-
let &l:filetype='copilot'
116+
let &l:filetype='copilotpanel'
117117
endtry
118118
let &l:tabstop=a:state.tabstop
119119
nmap<buffer><script><CR><Cmd>exe copilot#panel#Accept()<CR>

‎autoload/copilot/version.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
function!copilot#version#String()abort
2-
return'1.49.0'
2+
return'1.50.0'
33
endfunction

‎copilot-language-server/dist/main.js

Lines changed: 532 additions & 438 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎copilot-language-server/dist/main.js.map

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Binary file not shown.

‎copilot-language-server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"url":"git+https://github.com/github/copilot-language-server-release.git"
1212
},
1313
"license":"https://docs.github.com/en/site-policy/github-terms/github-terms-for-additional-products-and-features",
14-
"version":"1.319.0",
14+
"version":"1.324.0",
1515
"bin": {
1616
"copilot-language-server":"../dist/language-server.js"
1717
},
@@ -31,6 +31,6 @@
3131
"dependencies": {
3232
"vscode-languageserver-protocol":"^3.17.5"
3333
},
34-
"build":"1559",
34+
"build":"1588",
3535
"buildType":"prod"
3636
}

‎doc/copilot.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ COMMANDS *:Copilot*
3030
:Copilot panel Open a window with up to 10 completions for the
3131
current buffer. Use<CR> to accept a completion.
3232
Maps are also provided for [[ and ]] to jump from
33-
completion to completion. This is the default command
34-
if :Copilot is called without an argument.
33+
completion to completion.
3534

3635
*:Copilot_version*
3736
:Copilot version Show version information.

‎syntax/copilot.vim

Lines changed: 0 additions & 19 deletions
This file was deleted.

‎syntax/copilotpanel.vim

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
scriptencoding utf-8
2+
3+
ifexists("b:current_syntax")
4+
finish
5+
endif
6+
7+
lets:subtype=matchstr(&l:filetype,'\<copilotpanel\.\zs[[:alnum:]_-]\+')
8+
if!empty(s:subtype)&&s:subtype!~#'copilot'
9+
silent!exe'syn include @copilotpanelLanguageTop syntax/' .s:subtype .'.vim'
10+
unlet!b:current_syntax
11+
endif
12+
13+
synregioncopilotpanelHeaderstart="\%^"end="^─\@="
14+
synregioncopilotpanelItemmatchgroup=copilotpanelSeparatorstart="^─\{9,}$"end="\%(^─\{9,\}$\)\@=\|\%$"keependcontains=@copilotpanelLanguageTop
15+
16+
hideflinkcopilotpanelHeaderPreProc
17+
hideflinkcopilotpanelSeparatorComment
18+
19+
letb:current_syntax="copilotpanel"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp