dotfiles/symlinks/config/nvim/lua/init/globals/init.lua

20 lines
566 B
Lua
Raw Normal View History

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)
print(vim.inspect(v))
return v
2021-02-23 11:27:32 +00:00
end
if pcall(require, "plenary") then
RELOAD = require("plenary.reload").reload_module
2021-02-23 11:27:32 +00:00
R = function(name)
RELOAD(name)
return require(name)
end
2021-02-23 11:27:32 +00:00
end
-- `vim.opt`
require("init.globals.opt")