mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 01:08:53 +02:00
add: adaptive color icon
This commit is contained in:
parent
836ac75161
commit
bbc23eae04
5 changed files with 21 additions and 11 deletions
|
@ -56,12 +56,7 @@ return {
|
|||
if vim.g.pcode_codeium then
|
||||
local codeium = all_trim(vim.api.nvim_call_function("codeium#GetStatusString", {}))
|
||||
if codeium then
|
||||
-- return " " .. all_trim(codeium)
|
||||
if codeium == "OFF" then
|
||||
return icons.kind.CopilotOff
|
||||
else
|
||||
return icons.kind.Copilot
|
||||
end
|
||||
return icons.kind.Codeium
|
||||
else
|
||||
return ""
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue