Align file

This commit is contained in:
Grigorii Horos 2019-08-04 01:14:52 +03:00
parent e45fb7a0a7
commit f9540ead5b
No known key found for this signature in database
GPG Key ID: 690E27A17D89A380

View File

@ -48,108 +48,108 @@ fn icon(file: &File) -> char {
else { else {
if let Some(ext) = file.ext.as_ref() { if let Some(ext) = file.ext.as_ref() {
match ext.as_str() { match ext.as_str() {
"ai" => '\u{e7b4}', "ai" => '\u{e7b4}',
"android" => '\u{e70e}', "android" => '\u{e70e}',
"apple" => '\u{f179}', "apple" => '\u{f179}',
"avro" => '\u{e60b}', "avro" => '\u{e60b}',
"clj" => '\u{e768}', "clj" => '\u{e768}',
"coffee" => '\u{f0f4}', "coffee" => '\u{f0f4}',
"conf" => '\u{e615}', "conf" => '\u{e615}',
"cpp" => '\u{e61d}', "cpp" => '\u{e61d}',
"hpp" => '\u{e61d}', "hpp" => '\u{e61d}',
"c" => '\u{e61e}', "c" => '\u{e61e}',
"h" => '\u{e61e}', "h" => '\u{e61e}',
"cs" => '\u{f81a}', "cs" => '\u{f81a}',
"css" => '\u{e749}', "css" => '\u{e749}',
"d" => '\u{e7af}', "d" => '\u{e7af}',
"dart" => '\u{e798}', "dart" => '\u{e798}',
"db" => '\u{f1c0}', "db" => '\u{f1c0}',
"diff" => '\u{f440}', "diff" => '\u{f440}',
"patch" => '\u{f440}', "patch" => '\u{f440}',
"doc" => '\u{f1c2}', "doc" => '\u{f1c2}',
"docx" => '\u{f1c2}', "docx" => '\u{f1c2}',
"odt" => '\u{f1c2}', "odt" => '\u{f1c2}',
"ebook" => '\u{e28b}', "ebook" => '\u{e28b}',
"env" => '\u{f462}', "env" => '\u{f462}',
"epub" => '\u{e28a}', "epub" => '\u{e28a}',
"erl" => '\u{e7b1}', "erl" => '\u{e7b1}',
"font" => '\u{f031}', "font" => '\u{f031}',
"gform" => '\u{f298}', "gform" => '\u{f298}',
"git" => '\u{f1d3}', "git" => '\u{f1d3}',
"go" => '\u{e626}', "go" => '\u{e626}',
"hs" => '\u{e777}', "hs" => '\u{e777}',
"html" => '\u{f13b}', "html" => '\u{f13b}',
"iml" => '\u{e7b5}', "iml" => '\u{e7b5}',
"java" => '\u{e204}', "java" => '\u{e204}',
"js" => '\u{e74e}', "js" => '\u{e74e}',
"mjs" => '\u{e74e}', "mjs" => '\u{e74e}',
"json" => '\u{e60b}', "json" => '\u{e60b}',
"jsx" => '\u{e7ba}', "jsx" => '\u{e7ba}',
"vue" => '\u{fd42}', "vue" => '\u{fd42}',
"node" => '\u{f898}', "node" => '\u{f898}',
"less" => '\u{e758}', "less" => '\u{e758}',
"log" => '\u{f18d}', "log" => '\u{f18d}',
"lua" => '\u{e620}', "lua" => '\u{e620}',
"md" => '\u{f48a}', "md" => '\u{f48a}',
"markdown" => '\u{f48a}', "markdown" => '\u{f48a}',
"mustache" => '\u{e60f}', "mustache" => '\u{e60f}',
"npmignore" => '\u{e71e}', "npmignore" => '\u{e71e}',
"pdf" => '\u{f1c1}', "pdf" => '\u{f1c1}',
"php" => '\u{e73d}', "php" => '\u{e73d}',
"pl" => '\u{e769}', "pl" => '\u{e769}',
"ppt" => '\u{f1c4}', "ppt" => '\u{f1c4}',
"psd" => '\u{e7b8}', "psd" => '\u{e7b8}',
"py" => '\u{e606}', "py" => '\u{e606}',
"r" => '\u{f25d}', "r" => '\u{f25d}',
"rb" => '\u{e21e}', "rb" => '\u{e21e}',
"rdb" => '\u{e76d}', "rdb" => '\u{e76d}',
"rs" => '\u{e7a8}', "rs" => '\u{e7a8}',
"rss" => '\u{f09e}', "rss" => '\u{f09e}',
"rubydoc" => '\u{e73b}', "rubydoc" => '\u{e73b}',
"sass" => '\u{e603}', "sass" => '\u{e603}',
"scala" => '\u{e737}', "scala" => '\u{e737}',
"shell" => '\u{f489}', "shell" => '\u{f489}',
"sqlite3" => '\u{e7c4}', "sqlite3" => '\u{e7c4}',
"styl" => '\u{e600}', "styl" => '\u{e600}',
"tex" => '\u{e600}', "tex" => '\u{e600}',
"ts" => '\u{e628}', "ts" => '\u{e628}',
"tsx" => '\u{e628}', "tsx" => '\u{e628}',
"twig" => '\u{e61c}', "twig" => '\u{e61c}',
"txt" => '\u{f15c}', "txt" => '\u{f15c}',
"video" => '\u{f03d}', "video" => '\u{f03d}',
"vim" => '\u{e62b}', "vim" => '\u{e62b}',
"xml" => '\u{e619}', "xml" => '\u{e619}',
"yml" => '\u{f481}', "yml" => '\u{f481}',
"zip" => '\u{f410}', "zip" => '\u{f410}',
"deb" => '\u{e77d}', "deb" => '\u{e77d}',
"rpm" => '\u{e7bb}', "rpm" => '\u{e7bb}',
"exe" => '\u{e70f}', "exe" => '\u{e70f}',
"msi" => '\u{e70f}', "msi" => '\u{e70f}',
"dll" => '\u{e70f}', "dll" => '\u{e70f}',
"sh" => '\u{e795}', "sh" => '\u{e795}',
"bash" => '\u{e795}', "bash" => '\u{e795}',
"zsh" => '\u{e795}', "zsh" => '\u{e795}',
"fish" => '\u{e795}', "fish" => '\u{e795}',
"csh" => '\u{e795}', "csh" => '\u{e795}',
"ini" => '\u{e615}', "ini" => '\u{e615}',
"toml" => '\u{e615}', "toml" => '\u{e615}',
"apk" => '\u{e70e}', "apk" => '\u{e70e}',
"ttf" => '\u{f031}', "ttf" => '\u{f031}',
"woff" => '\u{f031}', "woff" => '\u{f031}',
"woff2" => '\u{f031}', "woff2" => '\u{f031}',
"otf" => '\u{f031}', "otf" => '\u{f031}',
"csv" => '\u{f1c3}', "csv" => '\u{f1c3}',
"tsv" => '\u{f1c3}', "tsv" => '\u{f1c3}',
"xls" => '\u{f1c3}', "xls" => '\u{f1c3}',
"xlsx" => '\u{f1c3}', "xlsx" => '\u{f1c3}',
"ods" => '\u{f1c3}', "ods" => '\u{f1c3}',
"so" => '\u{f17c}', "so" => '\u{f17c}',
"sql" => '\u{f1c0}', "sql" => '\u{f1c0}',
"jar" => '\u{e256}', "jar" => '\u{e256}',
"jad" => '\u{e256}', "jad" => '\u{e256}',
"war" => '\u{e256}', "war" => '\u{e256}',
"groovy" => '\u{e775}', "groovy" => '\u{e775}',
_ => '\u{f15b}' _ => '\u{f15b}'
} }
} else { } else {
'\u{f15b}' '\u{f15b}'