This commit is contained in:
Daniel Ziltener 2023-11-24 22:54:52 +01:00
parent 5f94289d2e
commit 769b66ef04
Signed by: zilti
GPG key ID: B38976E82C9DAE42
3 changed files with 15 additions and 11 deletions

View file

@ -2,6 +2,8 @@
{ {
config.home.packages = with pkgs.chickenPackages_5.chickenEggs; [ config.home.packages = with pkgs.chickenPackages_5.chickenEggs; [
apropos
chicken-doc
chicken-update chicken-update
csm csm
edn edn
@ -9,6 +11,8 @@
mistie mistie
nanomsg nanomsg
r7rs r7rs
srfi-1
srfi-18
srfi-197 srfi-197
] ++ [ pkgs.chicken ]; ] ++ [ pkgs.chicken ];
} }

View file

@ -46,6 +46,7 @@
evil-snipe evil-snipe
forge forge
geiser geiser
geiser-chicken
git-gutter git-gutter
goto-chg goto-chg
guix guix

View file

@ -603,26 +603,25 @@ Point must be at the beginning of balanced expression (sexp)."
(kbd "<localleader>ce") #'cider-eval-sexp-at-point)) (kbd "<localleader>ce") #'cider-eval-sexp-at-point))
;;;;; Chicken Scheme ;;;;; Chicken Scheme
(use-package scheme
:config
(eval-after-load 'eglot
'(add-to-list 'eglot-server-programs
'(scheme-mode . ("chicken-lsp-server"))))
:hook
(scheme-mode . eglot-ensure))
(defun flymake-chicken-init () (defun flymake-chicken-init ()
(add-hook 'flymake-diagnostic-functions (add-hook 'flymake-diagnostic-functions
#'flymake-chicken-backend nil t) #'flymake-chicken-backend nil t)
(flymake-mode)) (flymake-mode))
(use-package geiser (use-package geiser
:custom
(geiser-chicken-match-limit 200)
:config :config
(defalias 'run-geiser 'geiser)) (defalias 'run-geiser 'geiser))
(use-package lsp-scheme
:autoload lsp-scheme-chicken
:hook
(scheme-mode . lsp-scheme)
:custom
(lsp-scheme-implementation "chicken")
:config
(progn (add-to-list 'eglot-server-programs
'(scheme-mode . ("chicken-lsp-server"))))
(require 'lsp-scheme))
;; (use-package flymake-chicken ;; (use-package flymake-chicken
;; :hook ;; :hook
;; ((scheme-mode . flymake-chicken-init) ;; ((scheme-mode . flymake-chicken-init)