Skip to content

Commit

Permalink
fix(company): use require to ensure company-dabbrev-code loaded
Browse files Browse the repository at this point in the history
Configuring nested packages, see jwiegley/use-package#453
  • Loading branch information
Barrie Treloar committed Jul 24, 2020
1 parent 4370917 commit 3048230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions settings/setup-company.el
Expand Up @@ -20,6 +20,7 @@
company-echo-metadata-frontend) "always show tooltip")
(completion-styles '(substring partial-completion emacs22))
:config
(require 'company-dabbrev-code)
;; See https://github.com/company-mode/company-mode/issues/360#issuecomment-366937880
;; Must add mode to company-dabbrev-code-modes for company-dabbrev-code-everywhere to work
(add-to-list 'company-dabbrev-code-modes 'markdown-mode))
Expand Down

0 comments on commit 3048230

Please sign in to comment.