.
This commit is contained in:
parent
029a324787
commit
d1f1118367
2 changed files with 20 additions and 11 deletions
|
@ -19,6 +19,17 @@
|
|||
programs.emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacs29-pgtk;
|
||||
# extraConfig = builtins.readFile ./init.el;
|
||||
# extraConfig = builtins.readFile ./init.el;
|
||||
};
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacs29-pgtk;
|
||||
defaultEditor = true;
|
||||
extraOptions = [];
|
||||
startWithUserSession = true;
|
||||
client = {
|
||||
enable = true;
|
||||
arguments = [];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -624,11 +624,11 @@ Point must be at the beginning of balanced expression (sexp)."
|
|||
'((clojure-lsp (maxCompletions . 300))))
|
||||
:hook
|
||||
(clojure-mode . eglot-ensure)
|
||||
(eglot-managed-mode . (lambda ()
|
||||
(add-hook 'before-save-hook
|
||||
(lambda ()
|
||||
(call-interactively #'eglot-format-buffer))
|
||||
nil 'local)))
|
||||
;; (eglot-managed-mode . (lambda ()
|
||||
;; (add-hook 'before-save-hook
|
||||
;; (lambda ()
|
||||
;; (call-interactively #'eglot-format-buffer))
|
||||
;; nil 'local)))
|
||||
(eglot-managed-mode . eglot-inlay-hints-mode))
|
||||
|
||||
(use-package consult-eglot
|
||||
|
@ -747,7 +747,9 @@ Point must be at the beginning of balanced expression (sexp)."
|
|||
:mode ("\\.zig\\'" . zig-mode))
|
||||
|
||||
(use-package nix-mode
|
||||
:mode ("\\.nix\\'" . nix-mode))
|
||||
:mode ("\\.nix\\'" . nix-mode)
|
||||
:hook
|
||||
(nix-mode . eglot-ensure))
|
||||
|
||||
;; (use-package lsp-tailwindcss
|
||||
;; :init
|
||||
|
@ -863,10 +865,6 @@ Point must be at the beginning of balanced expression (sexp)."
|
|||
(require 'git-email-gnus)
|
||||
(require 'git-email-piem))
|
||||
|
||||
(use-package notmuch)
|
||||
|
||||
(use-package consult-notmuch)
|
||||
|
||||
;;;; IRC
|
||||
(use-package rcirc
|
||||
:ensure nil
|
||||
|
|
Loading…
Reference in a new issue