dotfiles/setup/commands/setup-nvim-config.rkt

20 lines
542 B
Racket
Raw Permalink Normal View History

2023-05-04 23:19:34 +02:00
#lang racket
(require "../common.rkt")
(provide run)
(define (run)
(define nvim-config-dir (build-path (find-system-path 'home-dir) ".config" "nvim"))
(generate-cgopt-json)
2023-05-27 01:27:08 +02:00
(install-zig "mzte-nv" "ReleaseSafe")
2023-05-04 23:19:34 +02:00
(rm nvim-config-dir)
(copy "mzte-nv/conf" nvim-config-dir)
2024-10-26 19:26:16 +02:00
(cmd "haxe"
"-cp" "mzte-nv/haxe"
"--main" "Main"
"-D" "lua-vanilla"
"-D" "dce=full"
"-D" "lua-jit"
"--lua" (build-path nvim-config-dir "lua" "hx.lua"))
2023-05-04 23:19:34 +02:00
(cmd "mzte-nv-compile" (path->string nvim-config-dir))
null)