mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-05 15:19:15 +01:00
9 lines
346 B
Text
9 lines
346 B
Text
|
;; This module is responsible for loading the native mzte-nv lua module
|
||
|
(set package.cpath (.. (. package :cpath) ";" (vim.loop.os_homedir)
|
||
|
:/.local/share/nvim/mzte-nv.so))
|
||
|
|
||
|
(let [(success mztenv) (pcall require :mzte_nv)]
|
||
|
(when (not success)
|
||
|
(error "Failed to preload mzte-nv. Is it installed?"))
|
||
|
(mztenv.onInit))
|