weirongxu / coc-explorer

📁 Explorer for coc.nvim
MIT License
1.14k stars 45 forks source link

Can't enable icons 无法使用图标 #577

Closed huanmoon closed 8 months ago

huanmoon commented 8 months ago

I'm trying to enable icons by adding "explorer.icon.enableNerdFont": true in coc-settings.json, but it doesn't work and it warned “Property explorer.icon.enableNerdFont is not allowed. (json) "

我正在尝试使用图标功能,在coc-settings里加入了"explorer.icon.enableNerdFont": true 但没用,警告Property explorer.icon.enableNerdFont is not allowed. (json) image

weirongxu commented 8 months ago

使用 :CocConfig 命令来确认当前位置是不是正确的 coc-settings.json 所在位置。

huanmoon commented 8 months ago

使用 :CocConfig 命令来确认当前位置是不是正确的 coc-settings.json 所在位置。

确实是正确的位置,我还在配置里加了"explorer.openAction.strategy": "tab",也能正常使用,没有警告,就是图标不行

weirongxu commented 8 months ago

正确的 settings key 应该是 explorer.icon.enableNerdfont 而不是 explorer.icon.enableNerdFont,建议尽量使用补全来输入 key。

auqf commented 4 weeks ago

还需要安装图标