about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el23
1 files changed, 11 insertions, 12 deletions
diff --git a/init.el b/init.el index 731e363..4134eb8 100644 --- a/init.el +++ b/init.el
@@ -747,18 +747,17 @@ if ripgrep is installed, otherwise `consult-grep'."
747 (apheleia--get-formatter-command))) 747 (apheleia--get-formatter-command)))
748 (indent-region (point-min) (point-max))))) 748 (indent-region (point-min) (point-max)))))
749 749
750(setup (:straight company) 750(setup (:straight (corfu
751 (:hook-into prog-mode) 751 :host github
752 (:hook company-tng-mode) 752 :repo "minad/corfu"))
753 753 (:option completion-cycle-threshold 3
754 (if (eq acdw/system :home) 754 tab-always-indent 'complete
755 (setq company-idle-delay 0.25) 755 corfu-cycle t)
756 (setq company-idle-delay nil)) 756 (:with-map corfu-map
757 757 (:bind "TAB" corfu-next
758 (:global "M-/" company-complete) 758 "S-TAB" corfu-previous))
759 (:with-map company-active-map 759 (:hook-into prog-mode
760 (:bind "C-d" company-show-doc-buffer 760 eshell-mode))
761 "M-." company-show-location)))
762 761
763;;; Lisps 762;;; Lisps
764(defvar lispy-modes '(emacs-lisp-mode 763(defvar lispy-modes '(emacs-lisp-mode