Skip to content

Instantly share code, notes, and snippets.

@anekos
Created March 8, 2010 22:34
Show Gist options
  • Save anekos/325867 to your computer and use it in GitHub Desktop.
Save anekos/325867 to your computer and use it in GitHub Desktop.
vimpのstylesディレクトリから *.css をロード
io.getRuntimeDirectories('styles').forEach(function (dir) {
dir.readDirectory().forEach(function (file) {
if (file.exists() && file.isFile() && /\.css$/.test(file.path))
io.source(file.path);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment