Remove C lang stuff and corfu-doc.
This commit is contained in:
parent
9596613b31
commit
6ef402364f
17
config.el
17
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
|
||||
|
Loading…
Reference in New Issue
Block a user