]> xn--ix-yja.es Git - alex.git/commitdiff
Fix editorconfig nag
authorAlex <alex.corcoles@veecle.io>
Tue, 29 Apr 2025 15:11:50 +0000 (17:11 +0200)
committeralexpdp7 <alex@corcoles.net>
Tue, 29 Apr 2025 15:14:30 +0000 (17:14 +0200)
emacs/emacs.el

index 30a51581315ed104ba5784e22c1f553183a91ece..324f0055be03cadd08788a945dc893a490b2ecc4 100644 (file)
@@ -72,7 +72,9 @@
   :config
   (setq rustic-format-on-save t)
   (setq rustic-rustfmt-args "--edition 2018")
-  (setq rustic-lsp-client 'eglot))
+  (setq rustic-lsp-client 'eglot)
+  ;; https://github.com/emacs-rustic/rustic/issues/99
+  (put 'rustic-indent-offset 'safe-local-variable 'integerp))
 
 ;; https://download.eclipse.org/jdtls/milestones/1.43.0/jdt-language-server-1.43.0-202412191447.tar.gz is the last language server that supports Debian 12 JDK
 ;; Untar the archive and symlink the jdtls binary in ~/.local/bin