I see many examples of EMacs configurations using use-package

For example:

;; lsp-mode configs
(use-package lsp-mode
  :delight lsp-lens-mode "🔍"
  :ensure t
  ;; set prefix for lsp-command-keymap (few alternatives - "C-l", "C-c l")
  (setq lsp-keymap-prefix "C-c l")
  (lsp-auto-guess-root +1)

I use Straight and I know that Straight can be used in association with use-package but I'd prefer not to

How do I configure lsp-mode as in this example BUT using Straight only ?

(straight-use-package 'lsp-mode)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.