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:
Henrik Lissner 2019-03-02 02:04:28 -05:00
parent ce22e21853
commit 50de8a07dd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -18,6 +18,8 @@
company-echo-metadata-frontend))
:config
(add-hook 'company-mode-hook #'+company|init-backends)
(when (featurep! :feature evil)
(add-hook 'company-mode-hook #'evil-normalize-keymaps))
(global-company-mode +1))