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

20 lines
548 B
Lua

-------------------------------------------------------------------------------
-- - 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
end
if pcall(require, 'plenary') then
RELOAD = require('plenary.reload').reload_module
R = function(name)
RELOAD(name)
return require(name)
end
end
-- `vim.opt`
require('init.globals.opt')