aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorAlex <alex.corcoles@veecle.io>2026-06-02 12:32:48 +0200
committeralex <alex@pdp7.net>2026-06-02 10:33:58 +0000
commit06d5f4dfd4322fa6a737d5eb348469a7451c0ce8 (patch)
tree046a101faf423c6f028f50b3ae1f8d365f3b6146 /emacs
parent18370100a6eaa9076de1e68cd5d93e08216cb59f (diff)
Silence nix-mode/editorconfig safety messagesmaster
Diffstat (limited to 'emacs')
-rw-r--r--emacs/emacs.el4
1 files changed, 4 insertions, 0 deletions
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"