mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Reduce company+evil keymap conflicts #903
company-active-map and company-search-map were losing to global evil state keymaps, causing an odd issue with the insert keybind for C-j was overriding C-j (company-select-next) when company was active and completing.
This commit is contained in:
@ -18,6 +18,8 @@
|
|||||||
company-echo-metadata-frontend))
|
company-echo-metadata-frontend))
|
||||||
:config
|
:config
|
||||||
(add-hook 'company-mode-hook #'+company|init-backends)
|
(add-hook 'company-mode-hook #'+company|init-backends)
|
||||||
|
(when (featurep! :feature evil)
|
||||||
|
(add-hook 'company-mode-hook #'evil-normalize-keymaps))
|
||||||
(global-company-mode +1))
|
(global-company-mode +1))
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user