diff options
author | seifferth <43514227+seifferth@users.noreply.github.com> | 2021-05-11 23:00:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 23:00:35 +0200 |
commit | 68ef4657583ce8c47ade8ec080e4f6db8aa755a9 (patch) | |
tree | b3d3d7bb77c3a0ac9b52e4dddb68ad26086262e3 | |
parent | caa5134943f6c8402f5743856693acc447c3f78b (diff) | |
parent | f2d4d54ff432f39d47c5baae08d4f294cad96e26 (diff) | |
download | vis-editorconfig-68ef4657583ce8c47ade8ec080e4f6db8aa755a9.tar.gz |
Merge pull request #7 from fischerling/add-init-lua
Add init.lua sourcing edconf.lua
-rw-r--r-- | init.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..39291d4 --- /dev/null +++ b/init.lua @@ -0,0 +1,4 @@ +local source_str = debug.getinfo(1, 'S').source:sub(2) +local script_path = source_str:match('(.*/)') + +return dofile(script_path .. 'edconf.lua') |