Update 2024-11-23 16:01 OpenBSD/amd64-t14
This commit is contained in:
@@ -28,10 +28,10 @@ COMMANDS *:Copilot*
|
||||
|
||||
*:Copilot_panel*
|
||||
:Copilot panel Open a window with up to 10 completions for the
|
||||
current buffer. Use <CR> to accept a solution. Maps
|
||||
are also provided for [[ and ]] to jump from solution
|
||||
to solution. This is the default command if :Copilot
|
||||
is called without an argument.
|
||||
current buffer. Use <CR> to accept a completion.
|
||||
Maps are also provided for [[ and ]] to jump from
|
||||
completion to completion. This is the default command
|
||||
if :Copilot is called without an argument.
|
||||
|
||||
*:Copilot_version*
|
||||
:Copilot version Show version information.
|
||||
@@ -75,12 +75,13 @@ g:copilot_node_command Tell Copilot what `node` binary to use with
|
||||
\ "~/.nodenv/versions/18.18.0/bin/node"
|
||||
<
|
||||
*g:copilot_proxy*
|
||||
g:copilot_proxy Tell Copilot what proxy server to use. This is a
|
||||
string in the format of `hostname:port` or
|
||||
`username:password@host:port`.
|
||||
g:copilot_proxy Tell Copilot what proxy server to use.
|
||||
>
|
||||
let g:copilot_proxy = 'localhost:3128'
|
||||
let g:copilot_proxy = 'http://localhost:3128'
|
||||
<
|
||||
If this is not set, Copilot will use the value of
|
||||
environment variables like $HTTPS_PROXY.
|
||||
|
||||
*g:copilot_proxy_strict_ssl*
|
||||
g:copilot_proxy_strict_ssl
|
||||
Corporate proxies sometimes use a man-in-the-middle
|
||||
@@ -90,6 +91,23 @@ g:copilot_proxy_strict_ssl
|
||||
>
|
||||
let g:copilot_proxy_strict_ssl = v:false
|
||||
<
|
||||
You can also tell Node.js to disable SSL verification
|
||||
by setting the $NODE_TLS_REJECT_UNAUTHORIZED
|
||||
environment variable to "0".
|
||||
|
||||
*g:copilot_workspace_folders*
|
||||
g:copilot_workspace_folders
|
||||
A list of "workspace folders" or project roots that
|
||||
Copilot may use to improve to improve the quality of
|
||||
suggestions.
|
||||
>
|
||||
let g:copilot_workspace_folders =
|
||||
\ ["~/Projects/myproject"]
|
||||
<
|
||||
You can also set b:workspace_folder for an individual
|
||||
buffer and newly seen values will be added
|
||||
automatically.
|
||||
|
||||
MAPS *copilot-maps*
|
||||
|
||||
*copilot-i_<Tab>*
|
||||
@@ -158,10 +176,24 @@ Lua version:
|
||||
SYNTAX HIGHLIGHTING *copilot-highlighting*
|
||||
|
||||
Inline suggestions are highlighted using the CopilotSuggestion group,
|
||||
defaulting to a medium gray. The best place to override this is a file named
|
||||
after/colors/<colorschemename>.vim in your 'runtimepath' (e.g.,
|
||||
~/.config/nvim/after/colors/solarized.vim). Example declaration:
|
||||
defaulting to a medium gray. The best place to override this is with
|
||||
a |ColorScheme| autocommand:
|
||||
>
|
||||
highlight CopilotSuggestion guifg=#555555 ctermfg=8
|
||||
autocmd ColorScheme solarized
|
||||
\ highlight CopilotSuggestion guifg=#555555 ctermfg=8
|
||||
<
|
||||
Lua version:
|
||||
>
|
||||
vim.api.nvim_create_autocmd('ColorScheme', {
|
||||
pattern = 'solarized',
|
||||
-- group = ...,
|
||||
callback = function()
|
||||
vim.api.nvim_set_hl(0, 'CopilotSuggestion', {
|
||||
fg = '#555555',
|
||||
ctermfg = 8,
|
||||
force = true
|
||||
})
|
||||
end
|
||||
})
|
||||
<
|
||||
vim:tw=78:et:ft=help:norl:
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
:Copilot copilot.txt /*:Copilot*
|
||||
:Copilot_disable copilot.txt /*:Copilot_disable*
|
||||
:Copilot_enable copilot.txt /*:Copilot_enable*
|
||||
:Copilot_feedback copilot.txt /*:Copilot_feedback*
|
||||
:Copilot_panel copilot.txt /*:Copilot_panel*
|
||||
:Copilot_setup copilot.txt /*:Copilot_setup*
|
||||
:Copilot_signout copilot.txt /*:Copilot_signout*
|
||||
:Copilot_status copilot.txt /*:Copilot_status*
|
||||
:Copilot_version copilot.txt /*:Copilot_version*
|
||||
b:copilot_enabled copilot.txt /*b:copilot_enabled*
|
||||
copilot copilot.txt /*copilot*
|
||||
copilot#Accept() copilot.txt /*copilot#Accept()*
|
||||
copilot-highlighting copilot.txt /*copilot-highlighting*
|
||||
copilot-i_<Tab> copilot.txt /*copilot-i_<Tab>*
|
||||
copilot-i_ALT-CTRL-Right copilot.txt /*copilot-i_ALT-CTRL-Right*
|
||||
copilot-i_ALT-Right copilot.txt /*copilot-i_ALT-Right*
|
||||
copilot-i_ALT-[ copilot.txt /*copilot-i_ALT-[*
|
||||
copilot-i_ALT-\ copilot.txt /*copilot-i_ALT-\\*
|
||||
copilot-i_ALT-] copilot.txt /*copilot-i_ALT-]*
|
||||
copilot-i_CTRL-] copilot.txt /*copilot-i_CTRL-]*
|
||||
copilot-maps copilot.txt /*copilot-maps*
|
||||
copilot-options copilot.txt /*copilot-options*
|
||||
copilot.txt copilot.txt /*copilot.txt*
|
||||
g:copilot_filetypes copilot.txt /*g:copilot_filetypes*
|
||||
g:copilot_node_command copilot.txt /*g:copilot_node_command*
|
||||
g:copilot_proxy copilot.txt /*g:copilot_proxy*
|
||||
g:copilot_proxy_strict_ssl copilot.txt /*g:copilot_proxy_strict_ssl*
|
||||
Reference in New Issue
Block a user