[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using use-package
From: |
Edward Knyshov |
Subject: |
Re: using use-package |
Date: |
Fri, 14 Aug 2015 05:23:58 +0000 |
Nicolay, here is example from my config.
(req-package company
:require yasnippet
:config (progn (global-company-mode 1)
(setq company-idle-delay 0.1)
(setq company-show-numbers t)
(setq company-minimum-prefix-length 2)
(setq company-dabbrev-downcase nil)
(setq company-dabbrev-other-buffers t)
(setq company-auto-complete nil)
(setq company-dabbrev-code-other-buffers 'all)
(setq company-dabbrev-code-everywhere t)
(setq company-dabbrev-code-ignore-case t)
(global-set-key (kbd "C-<tab>") 'company-dabbrev)
(global-set-key (kbd "M-<tab>") 'company-complete)
(global-set-key (kbd "C-c C-y") 'company-yasnippet)))
(req-package company-quickhelp
:require company
:config (company-quickhelp-mode 1))
(req-package company-restclient
:require company
:config (add-to-list 'company-backends 'company-restclient))
So cider initialization would look like this
(req-package cider
:require company
:config ({init-cier-for-company-mode}))
It might solve your problem.
On Fri, Aug 14, 2015 at 8:12 AM Nikolay Kudryavtsev <
nikolay.kudryavtsev@gmail.com> wrote:
> Cider does not really require company, nor company requires cider. But
> when we have both we need to configure them to work together. I've
> noticed that those "intersection" configuration relationships are more
> common than real requirement relationships. Putting intersection like
> this into use-package declarations for either package does not seem like
> a correct way of doing it. Instead I wish there was a separate macro for
> cases like this.
>
> --
> Best Regards,
> Nikolay Kudryavtsev
>
>
>
- Re: using use-package, (continued)
- Re: using use-package, Stefan Monnier, 2015/08/09
- Re: using use-package, Rusi, 2015/08/09
- Re: using use-package, Stefan Monnier, 2015/08/09
- Re: using use-package, Rusi, 2015/08/09
- Re: using use-package, Stefan Monnier, 2015/08/09
- Re: using use-package, Robert Thorpe, 2015/08/10
- Re: using use-package, Emanuel Berg, 2015/08/10
- Re: using use-package, Phillip Lord, 2015/08/11
- Re: using use-package, Stefan Monnier, 2015/08/13
- Re: using use-package, Nikolay Kudryavtsev, 2015/08/14
- Re: using use-package,
Edward Knyshov <=
- Re: using use-package, Nikolay Kudryavtsev, 2015/08/14
- Re: using use-package, Edward Knyshov, 2015/08/14
- Re: using use-package, Edward Knyshov, 2015/08/14
- Re: using use-package, Edward Knyshov, 2015/08/14
- Re: using use-package, Phillip Lord, 2015/08/14
- Message not available
- Re: using use-package, Rusi, 2015/08/12
- Re: using use-package, Grant Rettke, 2015/08/09
- Message not available
- Re: using use-package, Rusi, 2015/08/09