Add company-org-block

This commit is contained in:
Andreas Zweili 2024-01-09 10:14:59 +01:00
parent 328a6cd047
commit 81d441ce52
2 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,7 @@ in {
epkgs.cfrs
epkgs.citeproc
epkgs.company
epkgs.company-org-block
epkgs.company-restclient
epkgs.company-web
epkgs.counsel

View File

@ -18,3 +18,8 @@
(append (if (consp backend) backend (list backend))
'(:with company-yasnippet))))
(setq company-backends (mapcar #'company-mode/backend-with-yas company-backends)))
(use-package company-org-block
:hook ((org-mode . (lambda ()
(setq-local company-backends '(company-org-block))
(company-mode +1)))))