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

12 lines
346 B
Racket

#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)
(install-zig "mzte-nv" "ReleaseSafe")
(rm nvim-config-dir)
(copy "mzte-nv/conf" nvim-config-dir)
(cmd "mzte-nv-compile" (path->string nvim-config-dir))
null)