From e6d295c1c20e95f14fc14efda27541339a47b458 Mon Sep 17 00:00:00 2001 From: Vladislav Slobodenyuk Date: Thu, 2 Oct 2025 23:04:27 +0900 Subject: [PATCH] Load vterm manually if needed --- .config.d/05-basic.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.config.d/05-basic.el b/.config.d/05-basic.el index ca5fd2f..152870a 100644 --- a/.config.d/05-basic.el +++ b/.config.d/05-basic.el @@ -18,9 +18,12 @@ ;; Pixel perfect scrolling (pixel-scroll-precision-mode) + ;; Display time (display-time-mode) + (show-paren-mode +1) ; Paren match highlighting + ;; Winner mode is a global minor mode that records the changes in the ;; window configuration (i.e. how the frames are partitioned into ;; windows) so that the changes can be "undone" using the command @@ -107,4 +110,11 @@ ;; and use 'C' to copy the file/directory. (setq dired-dwim-target t) +;; As vterm requires a compiled part, on NixOS its installation is handled by +;; the system configuration. However, for some reason, after some update emacs +;; stopped loading it automatically. So, to remedy that, we load it if it was +;; not already loaded. +(unless (memq 'vterm features) + (load "vterm" nil t)) + ;;; 05-basic.el ends here