vim-devicons icon indicating copy to clipboard operation
vim-devicons copied to clipboard

In 'unite.vim', directory is displayed as regularfile icon

Open syurazo opened this issue 5 years ago • 0 comments

Required Info

  • [X] I have searched the issues for my issue and found nothing related and/or helpful
  • [X] I have read or at least glanced at the FAQ
  • [X] I have read or at least glanced at the Wiki
  • [X] VimDevIcons is the last loaded vim plugin?
  • [X] What version of vim are you using?
VIM - Vi IMproved 8.1 (2018 May 18, compiled Oct 15 2019 09:54:04)
macOS version
Included patches: 1-2100
  • [X] What version of vim-devicons are you using?
0.11.0
  • [X] Are you using vim from the terminal or a GUI vim?

using vim from the terminal

  • [X] Are you using Mac, Linux or Windows?

macos

issue

In 'unite.vim`, isdirectory() is given the basename. So if same name directory does not exist in CWD, the directory is judged as a regular file.

Proposal for fix

syurazo avatar Jun 02 '20 03:06 syurazo