From 06d5f4dfd4322fa6a737d5eb348469a7451c0ce8 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 2 Jun 2026 12:32:48 +0200 Subject: Silence nix-mode/editorconfig safety messages --- emacs/emacs.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs/emacs.el b/emacs/emacs.el index 87b5e5ae..b7083775 100644 --- a/emacs/emacs.el +++ b/emacs/emacs.el @@ -172,6 +172,10 @@ (add-hook 'nix-mode-hook 'eglot-ensure) +;; when using nix-mode + editorconfig (I think) you get prompted all the time to trust indentation configuration +;; this seems to silence it +(setq safe-local-variable-values '((smie-indent-basic . 2))) + ;; the following is a bit fiddly, eglot requires some extra love to have extra flymake providers (use-package flymake-vale :vc (:url "https://github.com/tpeacock19/flymake-vale.git" -- cgit v1.2.3