From 2ff3f4c2698f23a2ef6d89f21d18883f5384388b Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 30 Apr 2023 09:24:21 +0300 Subject: emacs: enable global-company-mode --- .emacs.d/init.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to '.emacs.d/init.el') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index f2026a2..13a2be9 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -530,12 +530,14 @@ Contains the list of packages that need to be installed.") :after lsp-mode :hook (lsp-mode . company-mode) :bind (:map company-active-map - ("" . company-complete-selection)) - (:map lsp-mode-map - ("" . company-indent-or-complete-common)) + ("" . company-complete-selection)) + (:map lsp-mode-map + ("" . company-indent-or-complete-common)) :custom (company-minimum-prefix-length 1) - (company-idle-delay 0.0)) + (company-idle-delay 0.0) + :config + (setq global-company-mode t)) (use-package dap-mode :custom -- cgit v1.2.3