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