From 1f4b890922620da7c553effb0ac30784122fc22c Mon Sep 17 00:00:00 2001 From: spl3g Date: Thu, 1 May 2025 15:08:21 +0300 Subject: fix(emacs): bring back replaced setqs --- home-manager/homeModules/emacs/init.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/home-manager/homeModules/emacs/init.el b/home-manager/homeModules/emacs/init.el index 805c74f..ee5ef00 100644 --- a/home-manager/homeModules/emacs/init.el +++ b/home-manager/homeModules/emacs/init.el @@ -116,7 +116,7 @@ The DWIM behaviour of this command is as follows: (global-set-key [remap list-buffers] 'ibuffer) ;;; Tweak the looks of Emacs -(setopt-default tab-width 4) +(setq-default tab-width 4) (global-word-wrap-whitespace-mode t) (global-visual-line-mode t) @@ -531,7 +531,7 @@ The DWIM behaviour of this command is as follows: :config (advice-add 'eglot-completion-at-point :around #'cape-wrap-buster) - (setopt-default + (setq-default eglot-workspace-configuration `(:nixd ( :nixpkgs (:expr "import { }") :formatting (:command ["nixpkgs-fmt"]) @@ -581,7 +581,7 @@ The DWIM behaviour of this command is as follows: (use-package typescript-ts-mode :ensure nil :mode ("\\.ts\\'") - :hook (typescript-ts-mode . (lambda () (setopt-local forward-sexp-function nil))) + :hook (typescript-ts-mode . (lambda () (setq-local forward-sexp-function nil))) :custom (typescript-ts-mode-indent-offset tab-width)) @@ -619,6 +619,7 @@ The DWIM behaviour of this command is as follows: :config (define-key org-mode-map (kbd "C-c C-r") verb-command-map)) + ;; Notetaking -- cgit v1.2.3