]> git.gir.st - VimFx.git/commit
Add `__dirname` to config file scope
authorSimon Lydell <simon.lydell@gmail.com>
Sun, 6 Mar 2016 19:42:04 +0000 (20:42 +0100)
committerSimon Lydell <simon.lydell@gmail.com>
Sun, 6 Mar 2016 19:42:04 +0000 (20:42 +0100)
commite4075f45ded1a6bd4803fbe32760adf5b6e58b49
tree300c7b3dda084bb569fc66cfc3ac954374cffb97
parent2481112d4ddf385af11aae54b4739da115aea78d
Add `__dirname` to config file scope

Inspired by Node.js' `__dirname` variable. This lets you more easily import
files relative to the config file.

(There's no need to add Node.js' `__filename`, because the config files are
always named `config.js` and `frame.js`.)
documentation/config-file.md
extension/lib/config.coffee
Imprint / Impressum