diff options
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 4ccef61..01b2bcf 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -46,7 +46,6 @@ sudo-edit exwm exwm-mff - ;; exwm-firefox-core consult alsamixer simple-httpd @@ -54,7 +53,9 @@ org-superstar mastodon dashboard - org-auto-tangle)) + org-auto-tangle + slime + slime-company)) (setq package-archives '(("melpa" . "https://melpa.org/packages/") ("org" . "https://orgmode.org/elpa/") @@ -535,14 +536,7 @@ Contains the list of packages that need to be installed.") ("<tab>" . company-indent-or-complete-common)) :custom (company-minimum-prefix-length 1) - (company-idle-delay 0.0) - :config - (setq global-company-mode t)) - -(define-key company-active-map (kbd "\C-n") 'company-select-next) -(define-key company-active-map (kbd "\C-p") 'company-select-previous) -(define-key company-active-map (kbd "\C-d") 'company-show-doc-buffer) -(define-key company-active-map (kbd "M-.") 'company-show-location) + (company-idle-delay 0.0)) (use-package dap-mode :custom @@ -561,21 +555,13 @@ Contains the list of packages that need to be installed.") (add-to-list 'completion-styles 'initials t) (add-hook 'emacs-lisp-mode-hook #'rainbow-delimiters-mode) -(add-hook 'scheme-mode-hook #'rainbow-delimiters-mode) - -(use-package slime - :ensure t - :config - (setq inferior-lisp-program "sbcl")) +(add-hook 'emacs-lisp-mode-hook #'company-mode) -(use-package slime-company - :after (slime company) - :config - (setq slime-company-completion 'fuzzy - slime-company-after-completion 'slime-company-just-one-space) - (slime-setup '(slime-fancy slime-company))) +(setq inferior-lisp-program "sbcl") +(slime-setup '(slime-fancy slime-company)) (add-hook 'lisp-mode-hook #'rainbow-delimiters-mode) +(add-hook 'lisp-mode-hook #'company-mode) (defun apollo/lsp-mode-setup () (setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols)) |