mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-14 14:02:29 +01:00
9 lines
322 B
Lua
9 lines
322 B
Lua
-- 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
|
|
|
|
require("mzte_nv").onInit()
|