mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-13 21:41:47 +01:00
11 lines
388 B
Text
11 lines
388 B
Text
|
(local cmd vim.cmd)
|
||
|
|
||
|
;; Compile commands
|
||
|
(let [compile-path (. (require :mzte_nv) :compile :compilePath)
|
||
|
make-cmd vim.api.nvim_create_user_command]
|
||
|
(make-cmd :CompileConfig
|
||
|
#(compile-path (.. (vim.fn.getenv :HOME) :/.config/nvim)) {:nargs 0})
|
||
|
(make-cmd :CompilePlugins
|
||
|
#(compile-path (. (require :packer) :config :package_root))
|
||
|
{:nargs 0}))
|