1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:20:06 +08:00
SpaceVim/lua/spacevim.lua
2020-12-20 20:22:11 +08:00

25 lines
313 B
Lua

local M = {}
local options = require('spacevim.opt')
local layers = require('spacevim.layer')
function M.bootstrap()
options.init()
layers.init()
end
function M.eval(l)
if vim['api'] ~= nil then
return vim.eval(l)
else
return vim.api.nvim_eval(l)
end
end
return M