Skip to content

Commit 0eef988

Browse files
committed
tweaks to some icon mapping
1 parent 333736a commit 0eef988

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/utils/icons.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ fn file_name_icons() -> &'static HashMap<&'static str, Icon> {
135135
m.insert(".psql_history", Icon::HistoryFile);
136136
m.insert(".python_history", Icon::HistoryFile);
137137

138+
m.insert(".env", Icon::WrenchFile);
139+
m.insert(".envrc", Icon::WrenchFile);
140+
138141
m.insert(".gemrc", Icon::RubyFile);
139142

140143
m
@@ -164,7 +167,7 @@ fn file_type_icons() -> &'static HashMap<&'static str, Icon> {
164167
(&["md"], Icon::MarkdownFile),
165168
(&["toml"], Icon::TomlFile),
166169
(&["xml"], Icon::XmlFile),
167-
(&["db", "sqlite", "sql"], Icon::DatabaseFile),
170+
(&["db", "sqlite", "sqlite3", "sql"], Icon::DatabaseFile),
168171
(&["py", "whl"], Icon::PythonFile),
169172
(&["jsx", "tsx"], Icon::ReactFile),
170173
(&["rb", "rspec"], Icon::RubyFile),

0 commit comments

Comments
 (0)