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

Commit1dcaf72

Browse files
committed
Copilot.vim 1.35.0
1 parent53d3091 commit1dcaf72

File tree

5 files changed

+266
-266
lines changed

5 files changed

+266
-266
lines changed

‎autoload/copilot.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ function! copilot#Enabled() abort
172172
\&&empty(s:BufferDisabled())
173173
endfunction
174174

175-
lets:inline_automatic=1
176-
lets:inline_invoked=2
175+
lets:inline_invoked=1
176+
lets:inline_automatic=2
177177

178178
function!copilot#Complete(...)abort
179179
ifexists('g:_copilot_timer')
@@ -401,13 +401,13 @@ function! s:Trigger(bufnr, timer) abort
401401
returncopilot#Suggest()
402402
endfunction
403403

404-
function!copilot#Schedule(...)abort
404+
function!copilot#Schedule()abort
405405
if!s:has_ghost_text||!s:Running()||!copilot#Enabled()
406406
callcopilot#Clear()
407407
return
408408
endif
409409
calls:UpdatePreview()
410-
let delay=a:0 ?a:1 :get(g:,'copilot_idle_delay',15)
410+
let delay=get(g:,'copilot_idle_delay',45)
411411
calltimer_stop(get(g:,'_copilot_timer',-1))
412412
letg:_copilot_timer=timer_start(delay,function('s:Trigger', [bufnr('')]))
413413
endfunction

‎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.34.0'
2+
return'1.35.0'
33
endfunction

‎dist/language-server.js

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

‎dist/language-server.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.

‎syntax/copilot.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ endif
66

77
lets:subtype=matchstr(&l:filetype,'\<copilot\.\zs[[:alnum:]_-]\+')
88
if!empty(s:subtype)&&s:subtype!=#'copilot'
9-
exe'syn include @copilotLanguageTop syntax/' .s:subtype .'.vim'
9+
silent!exe'syn include @copilotLanguageTop syntax/' .s:subtype .'.vim'
1010
unlet!b:current_syntax
1111
endif
1212

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp