dotfiles/setup/commands/install-lsps-paru.rkt

32 lines
803 B
Racket
Raw Normal View History

2023-05-04 23:19:34 +02:00
#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)
2023-05-07 15:53:25 +02:00
;; install OCaml LSP
2023-05-04 23:19:34 +02:00
(when (find-executable-path "opam")
(cmd "opam" "install" "--yes" "ocaml-lsp-server" "ocamlformat"))
2023-05-07 15:53:25 +02:00
;; Install CommonLisp LSP
2023-05-13 13:34:54 +02:00
;; Also useful for CommonLisp:
;; - `ros install koji-kojiro/cl-repl`
;; - `ros install fukamachi/mondo`
2023-05-07 15:53:25 +02:00
(when (find-executable-path "ros")
(cmd "ros" "install" "lem-project/lem" "cxxxr/cl-lsp"))
2023-05-04 23:19:34 +02:00
null)