summaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 042713b..091b444 100644
--- a/init.lua
+++ b/init.lua
@@ -1,12 +1,14 @@
-- enable performance stuff
-vim.loader.enable()
+if vim.fn.has("nvim-0.9") == true then
+ vim.loader.enable()
+end
-- bootstrap plugin manager
local path = vim.fn.stdpath("data").."/site/pack/deps/opt/dep"
if vim.fn.empty(vim.fn.glob(path)) > 0 then
vim.fn.system({ "git", "clone", "--depth=1", "https://git.squi.bid/dep", path })
end
-vim.cmd.packadd("dep")
+vim.cmd("packadd dep")
-- load miscellaneous utilities
local misc = require('core.misc')