From e6fc583bc3b79e987c12e0ebe85cb42d8b74202a Mon Sep 17 00:00:00 2001 From: Riyyi Date: Tue, 12 Jan 2021 17:41:43 +0100 Subject: [PATCH] Add numbers to company completions, select with M-[0-9] --- .config/emacs/config.org | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 4ea6d7a..b4b7ea0 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -472,10 +472,6 @@ Autocomplete packages (includes code completion and snippets). #+BEGIN_SRC emacs-lisp (use-package company :defer t - :custom - (company-idle-delay 0.2) - (company-minimum-prefix-length 2) - (company-tooltip-align-annotations 't) :hook ((c-mode-common emacs-lisp-mode @@ -484,7 +480,12 @@ Autocomplete packages (includes code completion and snippets). php-mode shell-mode shell-script-mode) - . company-mode)) + . company-mode) + :config + (setq company-idle-delay 0.2) + (setq company-minimum-prefix-length 2) + (setq company-show-numbers t) + (setq company-tooltip-align-annotations 't)) (use-package company-prescient :after company @@ -521,6 +522,8 @@ On the fly syntax checking. **** LSP +Language Server Protocol. + #+BEGIN_SRC emacs-lisp (use-package lsp-mode :commands lsp