From 6ef402364fcc8826fd529ca87dabe5f4da40d451 Mon Sep 17 00:00:00 2001 From: Zachary Billman Date: Sun, 11 Dec 2022 20:23:55 -0500 Subject: [PATCH] Remove C lang stuff and corfu-doc. --- config.el | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/config.el b/config.el index 8bb8e2c..03bdace 100644 --- a/config.el +++ b/config.el @@ -19,13 +19,6 @@ (when (modulep! +minibuffer) (add-hook 'minibuffer-setup-hook #'+corfu--enable-in-minibuffer)) - ;; Dirty hack to get c completion running - ;; Discussion in https://github.com/minad/corfu/issues/34 - (when (and (modulep! :lang cc) - (equal tab-always-indent 'complete)) - (map! :map c-mode-base-map - :i [remap c-indent-line-or-region] #'completion-at-point)) - ;; Reset lsp-completion provider (add-hook 'doom-init-modules-hook (lambda () @@ -61,16 +54,6 @@ (corfu-terminal-mode))) -(use-package! corfu-doc - :hook (corfu-mode . corfu-doc-mode) - :custom - (corfu-doc-delay 0) - :bind (:map corfu-map - ("M-n" . corfu-doc-scroll-down) - ("M-p" . corfu-doc-scroll-up) - ("M-d" . corfu-doc-toggle))) - - (use-package! orderless :when (modulep! +orderless) :init