Switch out company-mode for Corfu
This commit is contained in:
parent
1765f48196
commit
8e904aeed9
@ -26,6 +26,7 @@
|
||||
(add-hook 'prog-mode-hook #'display-line-numbers-mode)
|
||||
(add-hook 'text-mode-hook #'display-line-numbers-mode)
|
||||
:custom
|
||||
(require-final-newline t))
|
||||
(require-final-newline t)
|
||||
(tab-always-indent 'complete))
|
||||
|
||||
(provide 'init-defaults)
|
||||
|
@ -2,18 +2,10 @@
|
||||
|
||||
;; IDE features
|
||||
|
||||
;; Company-mode provides inline autocompletion
|
||||
(use-package company
|
||||
:hook (after-init . global-company-mode)
|
||||
:config
|
||||
(setq tab-always-indent 'complete)
|
||||
(evil-collection-company-setup)
|
||||
(general-def company-active-map "RET" #'company-complete-selection)
|
||||
:custom
|
||||
(company-idle-delay 0.3)
|
||||
:general
|
||||
([remap indent-for-tab-command] #'company-indent-or-complete-common)
|
||||
([remap c-indent-line-or-region] #'company-indent-or-complete-common))
|
||||
;; Corfu-mode provides inline autocompletion
|
||||
(use-package corfu
|
||||
:init
|
||||
(global-corfu-mode))
|
||||
|
||||
;; Quick file overview for supported modes
|
||||
(use-package imenu
|
||||
|
Loading…
Reference in New Issue
Block a user