diff options
author | Yuchen Pei <id@ypei.org> | 2023-06-26 15:17:20 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-06-26 15:17:20 +1000 |
commit | ea1e815c3dc1781aa5cb6d401e233c73fa8a108b (patch) | |
tree | 189aa1cc44277f5c298eed5230c4ae2784fafeec /emacs/.emacs.d/init/ycp-complete.el | |
parent | f77444c030038100908e298666f8f84f85e768cb (diff) |
Adapted more configs from other emacs configs
Including wasamasa and jwiegley
Diffstat (limited to 'emacs/.emacs.d/init/ycp-complete.el')
-rw-r--r-- | emacs/.emacs.d/init/ycp-complete.el | 9 |
1 files changed, 6 insertions, 3 deletions
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 <id@ypei.org> -;; Protesilaos Stavrou <info@protesilaos.com> -;; Maintainer: Yuchen Pei <id@ypei.org> ;; 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 |