2021-02-23 11:27:32 +00:00
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
-- - Adopted from TJ config (https://github.com/tjdevries/config_manager/blob/master/xdg_config/nvim/lua/tj/globals/init.lua) -
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
P = function(v)
|
2021-12-02 15:12:10 +00:00
|
|
|
print(vim.inspect(v))
|
|
|
|
return v
|
2021-02-23 11:27:32 +00:00
|
|
|
end
|
|
|
|
|
2021-12-02 15:12:10 +00:00
|
|
|
if pcall(require, "plenary") then
|
|
|
|
RELOAD = require("plenary.reload").reload_module
|
2021-02-23 11:27:32 +00:00
|
|
|
|
2021-12-02 15:12:10 +00:00
|
|
|
R = function(name)
|
|
|
|
RELOAD(name)
|
|
|
|
return require(name)
|
|
|
|
end
|
2021-02-23 11:27:32 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
-- `vim.opt`
|
2021-12-02 15:12:10 +00:00
|
|
|
require("init.globals.opt")
|