nvim-config/init.lua

14 lines
416 B
Lua
Raw Normal View History

2023-07-27 13:11:43 +00:00
local hotpot_path = vim.fn.stdpath('data') .. '/lazy/hotpot.nvim'
2023-06-03 19:27:29 +00:00
2023-07-27 13:11:43 +00:00
vim.opt.rtp:prepend(hotpot_path)
2023-06-03 19:27:29 +00:00
2023-07-27 13:11:43 +00:00
if vim.fn.empty(vim.fn.glob(hotpot_path)) > 0 then
print("Could not find hotpot.nvim, cloning new copy to", hotpot_path)
vim.fn.system({'git', 'clone',
'https://github.com/rktjmp/hotpot.nvim', hotpot_path})
vim.cmd("helptags " .. hotpot_path .. "/doc")
2023-06-03 19:27:29 +00:00
end
2023-07-27 13:11:43 +00:00
require("hotpot")
require("core")