Spring cleaning
This commit is contained in:
parent
8b80ba24c2
commit
ada29c1c42
19 changed files with 254 additions and 435 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue