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