Prefer setopt to :custom from use-package
All checks were successful
/ Test config on 20 (push) Successful in 26s

The following does not provide completion for variables:

  (use-package thing :custom (thing-thing :ok))
This commit is contained in:
Maciej 2024-10-31 14:36:47 +02:00
parent ba82470bea
commit a68257ee41
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
24 changed files with 313 additions and 266 deletions

View file

@ -26,6 +26,7 @@
(use-package gptel :ensure t :defer t
:config
(declare-function gptel-make-anthropic "gptel")
(setq
gptel-model 'claude-3-5-sonnet-20241022
gptel-backend (gptel-make-anthropic "Claude"
@ -33,9 +34,10 @@
;; Pretend to be 'AI editor'.
(use-package elysium :ensure t :defer t
:custom
((elysium-window-size 0.33 "The elysium buffer will be 1/3 your screen")
(elysium-window-style 'vertical "Elysium buffer will be vertical")))
:config
(setopt elysium-window-size 0.33) ;; The elysium buffer will be 1/3 your screen
(setopt elysium-window-style 'vertical) ;; Elysium buffer will be vertical
)
;; Merging with SMerge
(use-package smerge-mode :ensure nil