This commit is contained in:
Daniel Ziltener 2024-10-07 02:17:02 +02:00
parent 029a324787
commit d1f1118367
Signed by: zilti
GPG key ID: B38976E82C9DAE42
2 changed files with 20 additions and 11 deletions

View file

@ -19,6 +19,17 @@
programs.emacs = { programs.emacs = {
enable = true; enable = true;
package = pkgs.emacs29-pgtk; 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 = [];
};
}; };
} }

View file

@ -624,11 +624,11 @@ Point must be at the beginning of balanced expression (sexp)."
'((clojure-lsp (maxCompletions . 300)))) '((clojure-lsp (maxCompletions . 300))))
:hook :hook
(clojure-mode . eglot-ensure) (clojure-mode . eglot-ensure)
(eglot-managed-mode . (lambda () ;; (eglot-managed-mode . (lambda ()
(add-hook 'before-save-hook ;; (add-hook 'before-save-hook
(lambda () ;; (lambda ()
(call-interactively #'eglot-format-buffer)) ;; (call-interactively #'eglot-format-buffer))
nil 'local))) ;; nil 'local)))
(eglot-managed-mode . eglot-inlay-hints-mode)) (eglot-managed-mode . eglot-inlay-hints-mode))
(use-package consult-eglot (use-package consult-eglot
@ -747,7 +747,9 @@ Point must be at the beginning of balanced expression (sexp)."
:mode ("\\.zig\\'" . zig-mode)) :mode ("\\.zig\\'" . zig-mode))
(use-package nix-mode (use-package nix-mode
:mode ("\\.nix\\'" . nix-mode)) :mode ("\\.nix\\'" . nix-mode)
:hook
(nix-mode . eglot-ensure))
;; (use-package lsp-tailwindcss ;; (use-package lsp-tailwindcss
;; :init ;; :init
@ -863,10 +865,6 @@ Point must be at the beginning of balanced expression (sexp)."
(require 'git-email-gnus) (require 'git-email-gnus)
(require 'git-email-piem)) (require 'git-email-piem))
(use-package notmuch)
(use-package consult-notmuch)
;;;; IRC ;;;; IRC
(use-package rcirc (use-package rcirc
:ensure nil :ensure nil