Polish docstring for set-company-backend!
This commit is contained in:
parent
4ab1bbbdba
commit
eaaf6751d3
1 changed files with 7 additions and 3 deletions
|
@ -19,12 +19,16 @@ If the car of BACKENDS is nil, unset the backends for MODES.
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
(set-company-backend! 'js2-mode 'company-tide 'company-yasnippet)
|
(set-company-backend! 'js2-mode
|
||||||
|
'company-tide 'company-yasnippet)
|
||||||
|
|
||||||
(set-company-backend! 'sh-mode
|
(set-company-backend! 'sh-mode
|
||||||
'(company-shell :with company-yasnippet))
|
'(company-shell :with company-yasnippet))
|
||||||
(set-company-backend! 'js2-mode
|
|
||||||
|
(set-company-backend! '(c-mode c++-mode)
|
||||||
'(:separate company-irony-c-headers company-irony))
|
'(:separate company-irony-c-headers company-irony))
|
||||||
(set-company-backend! 'sh-mode nil)
|
|
||||||
|
(set-company-backend! 'sh-mode nil) ; unsets backends for sh-mode
|
||||||
|
|
||||||
To have BACKENDS apply to any mode that is a parent of MODES, set MODES to
|
To have BACKENDS apply to any mode that is a parent of MODES, set MODES to
|
||||||
:derived, e.g.
|
:derived, e.g.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue