mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-14 11:33:42 +01:00
8 lines
346 B
Fennel
8 lines
346 B
Fennel
;; 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))
|