From ea1e815c3dc1781aa5cb6d401e233c73fa8a108b Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 26 Jun 2023 15:17:20 +1000 Subject: Adapted more configs from other emacs configs Including wasamasa and jwiegley --- emacs/.emacs.d/init/ycp-complete.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'emacs/.emacs.d/init/ycp-complete.el') diff --git a/emacs/.emacs.d/init/ycp-complete.el b/emacs/.emacs.d/init/ycp-complete.el index 8e27f8e..c29b4d2 100644 --- a/emacs/.emacs.d/init/ycp-complete.el +++ b/emacs/.emacs.d/init/ycp-complete.el @@ -3,8 +3,6 @@ ;; Copyright (C) 2023 Free Software Foundation. ;; Author: Yuchen Pei -;; Protesilaos Stavrou -;; Maintainer: Yuchen Pei ;; Package-Requires: ((emacs "28.2")) ;; This file is part of dotfiles. @@ -165,7 +163,12 @@ (my-package company (:install t) (:delay 5) - (add-hook 'message-mode-hook #'company-mode)) + (add-hook 'message-mode-hook #'company-mode) + (setq company-idle-delay .1 + company-minimum-prefix-length 2 + company-selection-wrap-around t + company-show-numbers t + company-require-match 'never)) ;;; cape (my-package cape -- cgit v1.2.3