mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 21:53:01 +01:00
31 lines
779 B
Racket
31 lines
779 B
Racket
#lang racket
|
|
(require "../common.rkt")
|
|
(provide 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"))
|
|
|
|
(define (run)
|
|
(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)
|