Working on Emacs

This commit is contained in:
Andrea Ciceri 2021-10-11 13:55:12 +02:00
parent f4b2a68ba0
commit b4d239d34b
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
10 changed files with 186 additions and 116 deletions
users/profiles/emacs/emacs.d/config

View file

@ -4,6 +4,7 @@
(setq lsp-keymap-prefix "C-c l")
:hook (;; replace XXX-mode with concrete major-mode(e. g. python-mode)
(nix-mode . lsp)
(python-mode . lsp)
;; if you want which-key integration
(lsp-mode . lsp-enable-which-key-integration))
(before-save . lsp-format-buffer)