1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 20:10:05 +08:00
SpaceVim/lua/spacevim.lua

25 lines
313 B
Lua
Raw Normal View History

2020-12-20 20:22:11 +08:00
local M = {}
2019-05-31 21:45:09 +08:00
local options = require('spacevim.opt')
local layers = require('spacevim.layer')
2020-12-20 20:22:11 +08:00
function M.bootstrap()
2019-05-31 21:45:09 +08:00
options.init()
layers.init()
end
2020-12-20 20:22:11 +08:00
function M.eval(l)
if vim['api'] ~= nil then
return vim.eval(l)
else
return vim.api.nvim_eval(l)
end
end
return M