From 575f930dd0141d83bcf5225e9a34289a1bcdfe0d Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Sat, 4 May 2024 17:26:32 -0700 Subject: [PATCH] fix(emacs): migrate company configuration to init.el Signed-off-by: Lucas Sta Maria --- .emacs.d/include/misc.el | 4 ---- .emacs.d/init.el | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.emacs.d/include/misc.el b/.emacs.d/include/misc.el index 2628324..40240aa 100644 --- a/.emacs.d/include/misc.el +++ b/.emacs.d/include/misc.el @@ -164,10 +164,6 @@ (meow-setup) -;; Company completion -(keymap-global-set "M-SPC" #'company-complete) -(setq completion-styles '(basic orderless)) - ;; LSP (setq lsp-inlay-hint-enable t) (setq lsp-ui-doc-include-signature t) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index f4d8e5a..9fc1011 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -26,6 +26,10 @@ ;; Completion (use-package company :straight t + :custom + (completion-styles '(basic orderless)) + :bind + ("M-SPC" . #'company-complete) :init (add-hook 'after-init-hook 'global-company-mode)) (use-package company-box :straight t