Remove old lua globals
parent
d33416a12c
commit
7a7a01bbd2
|
@ -15,11 +15,6 @@ vim.api.nvim_exec('let $VIMPLUGINS = expand($VIMHOME."/lua/personal/plugins.lua"
|
||||||
-- Leader config to <Space>
|
-- Leader config to <Space>
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
|
||||||
-- Globals taken from TJ config
|
|
||||||
-- Helpful for configuration
|
|
||||||
-- Might be removed in future version of NeoVim
|
|
||||||
require("init.globals")
|
|
||||||
|
|
||||||
require("init.plugins")
|
require("init.plugins")
|
||||||
|
|
||||||
require("init.options")
|
require("init.options")
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
-------------------------------------------------------------------------------
|
|
||||||
-- - 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
|
|
Loading…
Reference in New Issue