1
0
forked from alex-eg/sex

emacs: load the server beside sex-mode

This commit is contained in:
2026-11-11 07:58:11 +03:00
parent 0aef571f68
commit e2f71d23a0
3 changed files with 219 additions and 12 deletions

View File

@@ -15,16 +15,20 @@
;; The mode derives from `lisp-data-mode' and fontifies Sex
;; declarations and keywords.
;;
;; `sex-mode' is one file in the Sex repository. Quelpa installs it
;; from that git remote:
;; `sex-mode' edits. `sex-lsp' talks to the language server. Quelpa
;; installs both files. The hook is `eglot-ensure' or `lsp-deferred'.
;; Leave out :custom, :hook, and :config for the editing mode alone.
;;
;; (use-package sex-mode
;; :ensure nil
;; :quelpa
;; (sex-mode :fetcher git
;; :url "https://git.kotobank.ch/alex-eg/sex.git"
;; :files ("sex-mode.el")
;; :upgrade t))
;; :files ("sex-mode.el" "sex-lsp.el")
;; :upgrade t)
;; :custom (sex-c-backend 'clangd)
;; :hook (sex-mode . lsp-deferred)
;; :config (require 'sex-lsp))
;;
;; Visiting a .sex file turns the mode on.