chore(nvim): add lua globals

This commit is contained in:
Oliver Davies 2022-01-10 08:44:43 +00:00
parent 572557ed28
commit 72d42651fe
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,4 @@
require "opdavies.globals"
require "opdavies.lsp" require "opdavies.lsp"
require("opdavies.options").setup() require("opdavies.options").setup()
require "opdavies.plugins" require "opdavies.plugins"

View file

@ -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