Testing magit

This commit is contained in:
Andrea Ciceri 2021-10-04 12:27:57 +02:00
parent fe554661d1
commit ce354185e8
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
3 changed files with 14 additions and 10 deletions

View file

@ -1,8 +1,3 @@
(defun my-lsp-format-buffer ()
(if (eq major-mode 'nix-mode)
(lsp-format-buffer)))
(use-package lsp-mode
:init
;; set prefix for lsp-command-keymap (few alternatives - "C-l", "C-c l")
@ -11,7 +6,7 @@
(nix-mode . lsp)
;; if you want which-key integration
(lsp-mode . lsp-enable-which-key-integration))
(before-save . my-lsp-format-buffer)
(before-save . lsp-format-buffer)
:commands lsp)
;; optionally

View file

@ -0,0 +1,5 @@
(use-package org
:init (setq fill-column 80)
:hook (org-mode . refill-mode))
(provide 'config-org)