weirongxu / coc-explorer

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

How to omit icon for files with no extension? #528

Closed ic-768 closed 2 years ago

ic-768 commented 2 years ago

I would like to keep all icons as they are currently, but not show any icon next to files that don't have an extension. I've tried adding this to coc-settings.json, but it doesn't work.

  "explorer.icon.customIcons": {
    "icons": {
      "none":{
        "code":" ",
        "color":"#ffffff"
      }
    },
    "extensions": {"":"none"},
  },

Any way to make this happen?

weirongxu commented 2 years ago
  "explorer.icon.customIcons": {
    "icons": {
      "file":{
        "code":" ",
        "color":"#ffffff"
      }
    }
  },
ic-768 commented 2 years ago

Thank you! This works