Add octicons to fuzzy-finder

Also place file base name first followed by
directory path in darker color
This commit is contained in:
Kevin Sawicki
2012-12-26 20:12:37 -08:00
parent 83af57db41
commit ae6039e74d
5 changed files with 75 additions and 24 deletions

View File

@@ -123,3 +123,24 @@ module.exports =
md5ForPath: (path) ->
$native.md5ForPath(path)
isCompressedExtension: (ext) ->
_.contains([
'.gz'
'.jar'
'.tar'
'.zip'
], ext)
isImageExtension: (ext) ->
_.contains([
'.gif'
'.jpeg'
'.jpg'
'.png'
], ext)
isPdfExtension: (ext) ->
_.contains([
'.pdf'
], ext)