From 412f51cd7ad4ce610ecaf13210b52709fb3e0232 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Thu, 25 Nov 2021 00:05:34 +0100 Subject: Move config to lua. Add laravel snippets --- lua/alpha/global.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lua/alpha/global.lua (limited to 'lua/alpha/global.lua') diff --git a/lua/alpha/global.lua b/lua/alpha/global.lua new file mode 100644 index 0000000..5fcee70 --- /dev/null +++ b/lua/alpha/global.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