Explorar el Código

Use `buf.fullpath` and `buf.isdir` for icons.

This allows a directory icon to be chosen.
Michael Henry hace 1 año
padre
commit
95133ce38d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      plugin/bufexplorer.vim

+ 1 - 1
plugin/bufexplorer.vim

@@ -805,7 +805,7 @@ function! s:BuildBufferList()
         let line = buf.attributes." "
 
         if exists("g:loaded_webdevicons")
-            let line .= WebDevIconsGetFileTypeSymbol(buf.shortname)
+            let line .= WebDevIconsGetFileTypeSymbol(buf.fullname, buf.isdir)
             let line .= " "
         endif