]> Sergey Matveev's repositories - nnn.git/commitdiff
clarify the goal of the default icon set
authorNRK <nrk@disroot.org>
Wed, 26 Oct 2022 08:54:07 +0000 (14:54 +0600)
committerNRK <nrk@disroot.org>
Wed, 26 Oct 2022 08:54:07 +0000 (14:54 +0600)
src/icons.h

index fe53980fd5aabe60c9a253c26ac66d468b6235e7..846b77a5e8cf0dc5d6731b09d1df9a63ca06c27e 100644 (file)
@@ -195,9 +195,16 @@ static const struct icon_pair icons_name[] = {
 
 #ifdef ICONS_GENERATE
 /*
- * All entries are case-insensitive
+ * The goal here is to provide a small set of default values. We don't try to
+ * provide icons for everything under the sun because keeping a _huge_ table of
+ * icons would: increase binary size, increase memory usage, decrease performance.
+ *
+ * Users are free to customize this *locally* as they see fit. Only open a
+ * pull-request if you think your changes are aligned with the goal described
+ * above.
  */
-static const struct icon_pair icons_ext[] = {
+
+static const struct icon_pair icons_ext[] = { /* All entries are case-insensitive */
        /* Numbers */
        {"1",          ICON_MANUAL,         COLOR_DOCS},
        {"7z",         ICON_ARCHIVE,        COLOR_ARCHIVE},