Understanding Skins #4689
-
Hello, I try to understand the concept of color-mapping in skins, especially the section [filehighlight]. mc/lib/filehighlight/ini-file-read.c Lines 69 to 76 in 0ce2220 However, when I am looking to the skins I see the following attributes: Lines 58 to 73 in 0ce2220 The two list of types don't match. And till now, I was unable to find, where the mappings to e.g. "database" is done. By watching a running my I see, that extensions like .dat or .sql are highlited with the database attributes. But where this happens in the code? Is there anybody, who can give me some hints, where I can find the corresponding code? Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
https://github.com/MidnightCommander/mc/blob/master/misc/filehighlight.ini |
Beta Was this translation helpful? Give feedback.
-
Thanks! Looks like, I have overseen this. |
Beta Was this translation helpful? Give feedback.
https://github.com/MidnightCommander/mc/blob/master/misc/filehighlight.ini