Skip to content

Commit c7d166e

Browse files
committed
Copilot.vim 1.8.2
1 parent 8c84164 commit c7d166e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

autoload/copilot.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function! s:EditorConfiguration() abort
2626
endif
2727
return {
2828
\ 'enableAutoCompletions': empty(get(g:, 'copilot_enabled', 1)) ? v:false : v:true,
29-
\ 'disabledLanguages': sort(keys(filter(filetypes, { k, v -> empty(v) ? v:true : v:false }))),
29+
\ 'disabledLanguages': map(sort(keys(filter(filetypes, { k, v -> empty(v) ? v:true : v:false }))), { _, v -> {'languageId': v}}),
3030
\ }
3131
endfunction
3232

@@ -207,7 +207,7 @@ function! s:SuggestionTextWithAdjustments() abort
207207
return [unindented, len(typed) - len(leading), strchars(delete), uuid]
208208
endif
209209
elseif typed ==# strpart(choice.text, 0, offset)
210-
return [strpart(choice.text, offset), 0, strchars(delete), uuid]
210+
return [strpart(choice.text . delete, offset), 0, strchars(delete), uuid]
211211
endif
212212
catch
213213
call copilot#logger#Exception()

autoload/copilot/agent.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ let g:autoloaded_copilot_agent = 1
55

66
scriptencoding utf-8
77

8-
let s:plugin_version = '1.8.1'
8+
let s:plugin_version = '1.8.2'
99

1010
let s:error_exit = -1
1111

copilot/dist/agent.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)