File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ GitHub Copilot turns natural language prompts including comments and method
66names into coding suggestions across dozens of languages.
77
88Copilot.vim is a Vim plugin for GitHub Copilot. For now, it requires Neovim
9- 0.6 (for virtual lines support) and a Node.js installation.
9+ 0.7 (for virtual lines support) and a Node.js installation.
1010
1111To learn more, visit [ aka.ms/copilot-learn-more] ( https://aka.ms/copilot-learn-more )
1212
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ let g:autoloaded_copilot = 1
55
66scriptencoding utf- 8
77
8- let s: has_ghost_text = has (' nvim-0.6 ' ) && exists (' *nvim_buf_get_mark' )
8+ let s: has_ghost_text = has (' nvim-0.7 ' ) && exists (' *nvim_buf_get_mark' )
99
1010let s: hlgroup = ' CopilotSuggestion'
1111
@@ -520,7 +520,7 @@ endfunction
520520function ! s: EnabledStatusMessage () abort
521521 let buf_disabled = s: BufferDisabled ()
522522 if ! s: has_ghost_text && bufwinid (' copilot://' ) == -1
523- return " Neovim 0.6 required to support ghost text"
523+ return " Neovim 0.7 required to support ghost text"
524524 elseif ! copilot#IsMapped ()
525525 return ' <Tab> map has been disabled or is claimed by another plugin'
526526 elseif ! get (g: , ' copilot_enabled' , 1 )
Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ function! s:IsArmMacOS() abort
351351endfunction
352352
353353function ! s: Command () abort
354- if ! has (' nvim-0.6 ' ) && v: version < 802
354+ if ! has (' nvim-0.7 ' ) && v: version < 802
355355 return [v: null , ' Vim version too old' ]
356356 endif
357357 let node = get (g: , ' copilot_node_command' , ' ' )
You can’t perform that action at this time.
0 commit comments