diff options
Diffstat (limited to 'lua/alpha/globals.lua')
| -rw-r--r-- | lua/alpha/globals.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/alpha/globals.lua b/lua/alpha/globals.lua new file mode 100644 index 0000000..5fcee70 --- /dev/null +++ b/lua/alpha/globals.lua @@ -0,0 +1,13 @@ +P = function (v) + print(vim.inspect(v)) + return v +end + +RELOAD = function (...) + return require("plenary.reload").reload_module(...) +end + +R = function (name) + RELOAD(name) + return require(name) +end |