Explorar o código

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

This allows a directory icon to be chosen.
Michael Henry hai 10 meses
pai
achega
95133ce38d
Modificáronse 1 ficheiros con 1 adicións e 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