dotfiles/.config/nvim/lua/mzte_nv_preloader.lua

10 lines
322 B
Lua
Raw Normal View History

2022-10-18 23:03:39 +02:00
-- This module is responsible for loading the native mzte_nv lua module
package.cpath = package.cpath .. ";" .. vim.loop.os_homedir() .. "/.local/share/nvim/mzte_nv.so"
local success = pcall(require, "mzte_nv");
if not success then
error "Failed to preload mzte_nv. Is it installed?"
end
2022-10-20 15:04:28 +02:00
require("mzte_nv").onInit()