From c5c7f5628899a93d83a758b50dbd9e70795423b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Del=20Pino?= <stephane.delpino44@gmail.com> Date: Tue, 22 Jun 2021 21:21:27 +0200 Subject: [PATCH] change l'utilisation de company --- Configuration.org | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Configuration.org b/Configuration.org index 29b0f84..374bc02 100644 --- a/Configuration.org +++ b/Configuration.org @@ -1,6 +1,6 @@ -#+SETUPFILE: ~/.emacs.d/org-html-themes/setup/theme-readtheorg-local.setup - #+STARTUP: org-pretty-entities entitiespretty + +#+SETUPFILE: ~/.emacs.d/org-html-themes/setup/theme-readtheorg-local.setup #+PROPERTY: header-args :comments yes :results silent :exports both #+options: h:3 num:t toc:3 @@ -336,7 +336,7 @@ Saute très rapidement vers la zone de texte contenant une lettre. :bind ("M-s" . avy-goto-word-1)) #+END_SRC -** Company +** COMMENT Company Boîtes de dialogue pour la complétion #+BEGIN_SRC emacs-lisp (use-package company @@ -345,7 +345,10 @@ Boîtes de dialogue pour la complétion (setq company-idle-delay 0) (setq company-minimum-prefix-length 2) (setq company-tooltip-align-annotations t) - (global-company-mode t)) + (global-company-mode t) + :custom-face + (company-tooltip-selection ((t (:background "dim gray" :foreground "white" :weight normal)))) + ) (use-package company-box :ensure t @@ -424,8 +427,7 @@ On rappelle quelques raccourcis utiles : :commands lsp-treemacs-errors-list) ;; autres paquets de base - (setq package-selected-packages '(yasnippet tramp company-lsp - projectile hydra flycheck company avy which-key ivy-xref)) + (setq package-selected-packages '(yasnippet tramp projectile hydra flycheck company avy which-key ivy-xref)) (when (cl-find-if-not #'package-installed-p package-selected-packages) (package-refresh-contents) -- GitLab