Spring cleaning

This commit is contained in:
Andrea Ciceri 2022-05-28 16:22:41 +02:00
parent 8b80ba24c2
commit ada29c1c42
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
19 changed files with 254 additions and 435 deletions

View file

@ -1,9 +1,9 @@
(use-package nix-mode
:mode "\\.nix\\'"
;;:hook
;;(before-save . lsp-format-buffer)
)
:config (setq format-on-save t)
:bind ("<f8>" . (lambda () (interactive) (setq format-on-save (not format-on-save)) ))
:hook
(before-save . (lambda () (when (format-on-save) (lsp-format-buffer)))))
(require 'sudo-utils)