weirongxu/coc-explorer

How to omit icon for files with no extension?

ic-768 opened this issue · 2 comments

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?

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

Thank you! This works