mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-28 05:27:06 -05:00
Tweak company backends
This commit is contained in:
parent
dd86af9070
commit
a598e669b4
@ -521,15 +521,6 @@ Make bullets look choice
|
|||||||
:hook (org-mode . org-bullets-mode))
|
:hook (org-mode . org-bullets-mode))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Org-protocol
|
|
||||||
Allows interception of calls to =emacsclient= to trigger custom actions.
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
(use-package org-protocol
|
|
||||||
:pin org)
|
|
||||||
(use-package org-protocol-capture
|
|
||||||
:pin org)
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
** Fuzzy Matching
|
** Fuzzy Matching
|
||||||
Ivy, swiper, and counsel all provide fuzzy-matching on different
|
Ivy, swiper, and counsel all provide fuzzy-matching on different
|
||||||
emacs operations.
|
emacs operations.
|
||||||
@ -610,8 +601,10 @@ when idling on a completion candidate.
|
|||||||
(append (list backend)
|
(append (list backend)
|
||||||
'(:with company-yasnippet)))
|
'(:with company-yasnippet)))
|
||||||
(defun foltz-add-company-backend (backend)
|
(defun foltz-add-company-backend (backend)
|
||||||
(add-to-list 'company-backends
|
(if (member (foltz-company-backend-with-yas backend) company-backends)
|
||||||
(foltz-company-backend-with-yas backend)))
|
backend
|
||||||
|
(add-to-list 'company-backends
|
||||||
|
(foltz-company-backend-with-yas backend))))
|
||||||
:hook (prog-mode . company-mode)
|
:hook (prog-mode . company-mode)
|
||||||
:hook (cdlatex-mode . company-mode)
|
:hook (cdlatex-mode . company-mode)
|
||||||
:general
|
:general
|
||||||
|
Loading…
Reference in New Issue
Block a user