From 77f5dd9693576af7fde80bdc99700f21eff01d6b Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Wed, 9 Feb 2022 17:53:48 +0100 Subject: WIP moving to all lua and new structure --- lua/alpha/globals.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lua/alpha/globals.lua (limited to 'lua/alpha/globals.lua') 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 -- cgit v1.2.3