Emacs: Add scheme mode lsp

This commit is contained in:
caem 2025-05-22 22:08:53 +02:00
parent 17bfe9f889
commit 4462c9d61d
Signed by: caem
GPG key ID: 69A830D03203405F
3 changed files with 22 additions and 1 deletions

View file

@ -139,6 +139,11 @@
(require 'lsp-pyright) (require 'lsp-pyright)
(lsp)))) (lsp))))
(use-package lsp-scheme
:ensure t
:custom (lsp-scheme-implementation "guile")
:hook (scheme-mode . lsp-scheme))
;; === Major Modes === ;; === Major Modes ===
(setq-default indent-tabs-mode nil) (setq-default indent-tabs-mode nil)

View file

@ -16,6 +16,8 @@ TODO
- Bash - Bash
- C & C++ compiler - C & C++ compiler
- ag - ag
- Guile (with headers)
- chicken
** installation ** installation
#+begin_src sh #+begin_src sh

16
scripts/install_dependencies vendored Normal file → Executable file
View file

@ -1,3 +1,17 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo "Unimplemented" if ! grep /etc/os-release -e ID=fedora -q; then
echo "Currently only Fedora Linux is supported by this script"
fi
sudo dnf install -y emacs ag guile30 guile30-devel chicken gcc
sudo ln -svf "$(command -v guile3.0)" /usr/local/bin/guile
sudo ln -svf "$(command -v guild3.0)" /usr/local/bin/guild
sudo ln -svf "$(command -v guile-config3.0)" /usr/local/bin/guile-config
sudo ln -svf "$(command -v guile-tools3.0)" /usr/local/bin/guile-tools
sudo ln -svf "$(command -v guile-snarf3.0)" /usr/local/bin/guile-snarf
cd `csi -R chicken.platform -p '(chicken-home)'`
curl https://3e8.org/pub/chicken-doc/chicken-doc-repo-5.tgz | sudo tar zx
chicken-install -s json-rpc r7rs apropos chicken-doc srfi-18 lsp-server