Add lisp-mode-hook for sly: indentation and company-mode

This commit is contained in:
2019-12-26 09:38:54 +03:00
parent 3512fa79fd
commit 07e99041d1

View File

@@ -8,7 +8,12 @@
;;; Local CLHS browsing! ;;; Local CLHS browsing!
(load "~/quicklisp/clhs-use-local.el" t) (load "~/quicklisp/clhs-use-local.el" t)
(use-package sly) (use-package sly
:config (add-hook 'lisp-mode-hook
(lambda ()
(setq lisp-indent-function 'common-lisp-indent-function)
(company-mode)
(common-lisp-set-style "classic"))))
(setq-default c-basic-offset 4) (setq-default c-basic-offset 4)