mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-16 15:01:37 +01:00
31 lines
803 B
Racket
31 lines
803 B
Racket
#lang racket
|
|
(require "../common.rkt")
|
|
(provide run)
|
|
|
|
(define (run)
|
|
(define lsp-packages
|
|
(list "elixir-ls-git"
|
|
"eslint"
|
|
"jdtls"
|
|
"lua-language-server"
|
|
"shellcheck"
|
|
"shfmt"
|
|
"taplo-cli"
|
|
"tidy"
|
|
"vscode-langservers-extracted"
|
|
"yaml-language-server"
|
|
"zls-git"))
|
|
|
|
(apply cmd "paru" "-S" "--needed" "--noconfirm" lsp-packages)
|
|
|
|
;; install OCaml LSP
|
|
(when (find-executable-path "opam")
|
|
(cmd "opam" "install" "--yes" "ocaml-lsp-server" "ocamlformat"))
|
|
|
|
;; Install CommonLisp LSP
|
|
;; Also useful for CommonLisp:
|
|
;; - `ros install koji-kojiro/cl-repl`
|
|
;; - `ros install fukamachi/mondo`
|
|
(when (find-executable-path "ros")
|
|
(cmd "ros" "install" "lem-project/lem" "cxxxr/cl-lsp"))
|
|
null)
|