Created
October 4, 2018 17:36
-
-
Save lellimecnar/224875b0e4c17cf4bd112bcdfb42ef8f to your computer and use it in GitHub Desktop.
Atom config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span style="display:block;position:absolute;top:-2px;left:22px"><% | |
var dirname = path.dirname(relativeFilePath).split(path.sep).join('/'); | |
if (dirname.startsWith('ui-src/public/') || dirname.startsWith('app/templates/twig/')) { | |
var dirs = dirname.replace('ui-src/public/', '').replace('app/templates/twig/', '').split('/'); | |
%><strong><%= dirs.shift() %></strong><%= path.sep %><%= dirs.join(path.sep) %><% | |
} else { | |
if (dirname.startsWith('..')) { | |
dirname = path.dirname(filePath).replace(process.env.HOME, '~'); | |
} | |
%><%= dirname %><% | |
} %></span> | |
<em style="display:block;position:absolute;bottom:-5px;left:12px;font-size:0.85em"> | |
<%= fileName %> | |
</em> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment