File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ M.defaults = {
7777 display_cost = true ,
7878 window_highlight = ' Normal:OpencodeBackground,FloatBorder:OpencodeBorder' ,
7979 icons = {
80- preset = ' emoji ' ,
80+ preset = ' nerdfonts ' ,
8181 overrides = {},
8282 },
8383 output = {
Original file line number Diff line number Diff line change 9494--- @field display_context_size boolean
9595--- @field display_cost boolean
9696--- @field window_highlight string
97- --- @field icons { preset : ' emoji' | ' text' , overrides : table<string,string> }
97+ --- @field icons { preset : ' emoji' | ' text' | ' nerdfonts ' , overrides : table<string,string> }
9898--- @field output { tools : { show_output : boolean } }
9999--- @field input { text : { wrap : boolean } }
100100--- @field completion OpencodeCompletionConfig
Original file line number Diff line number Diff line change @@ -28,6 +28,30 @@ local presets = {
2828 -- borders and misc
2929 border = ' ▌' ,
3030 },
31+ nerdfonts = {
32+ -- headers
33+ header_user = ' ▌ ' ,
34+ header_assistant = ' ' ,
35+ -- actions/tools
36+ run = ' ' ,
37+ task = ' ' ,
38+ read = ' ' ,
39+ edit = ' ' ,
40+ write = ' ' ,
41+ plan = ' ' ,
42+ search = ' ' ,
43+ web = ' ' ,
44+ list = ' ' ,
45+ tool = ' ' ,
46+ snapshot = ' ' ,
47+ restore_point = ' ' ,
48+ file = ' ' ,
49+ -- statuses
50+ status_on = ' ' ,
51+ status_off = ' ' ,
52+ -- borders and misc
53+ border = ' ▌' ,
54+ },
3155 text = {
3256 -- headers
3357 header_user = ' ▌$ ' ,
You can’t perform that action at this time.
0 commit comments