Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions doc/copilot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,5 +181,14 @@ after/colors/<colorschemename>.vim in your 'runtimepath' (e.g.,
~/.config/nvim/after/colors/solarized.vim). Example declaration:
>
highlight CopilotSuggestion guifg=#555555 ctermfg=8

If this fails, then add to your vimrc a corresponding autocommand for your
color scheme (or all color schemes, as below): >
>
augroup CopilotColorScheme
autocmd!
autocmd ColorScheme * highlight CopilotSuggestion guifg=#555555 ctermfg=8
autocmd VimEnter * silent doautocmd CopilotColorScheme ColorScheme *
augroup END
<
vim:tw=78:et:ft=help:norl:
2 changes: 1 addition & 1 deletion plugin/copilot.vim
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if v:version < 800 || !exists('##CompleteChanged')
endif

function! s:ColorScheme() abort
if &t_Co == 256
if &t_Co > 16
hi def CopilotSuggestion guifg=#808080 ctermfg=244
else
hi def CopilotSuggestion guifg=#808080 ctermfg=8
Expand Down