Skip to content

Commit 091af34

Browse files
committed
Make icon overwritable
1 parent 41a5767 commit 091af34

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lua/codecompanion/strategies/chat/keymaps.lua

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ local api = vim.api
99

1010
local CONSTANTS = {
1111
icons = {
12-
-- TODO: Make the default overwritable.
13-
tools = "", -- nf-cod-tools
14-
vision = "󰡼 ", -- nf-md-image_plus
15-
stream = "", -- nf-fa-arrow_right_arrow_left
16-
reason = "󰟷 ", -- nf-md-thought_bubble_outline
12+
tools = config.display.chat.icons.can_use_tools or "", -- nf-cod-tools
13+
vision = config.display.chat.icons.has_vision or "󰡼 ", -- nf-md-image_plus
14+
stream = config.display.chat.icons.can_stream or "", -- nf-fa-arrow_right_arrow_left
15+
reason = config.display.chat.icons.can_reason or "󰟷 ", -- nf-md-thought_bubble_outline
1716
},
1817
}
1918

0 commit comments

Comments
 (0)