docs/api: fix inline command in map! example
This commit is contained in:
parent
1a6f508640
commit
2e1775c472
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ Or to create aliases for functions that behave differently:
|
||||||
|
|
||||||
(:when IS-MAC
|
(:when IS-MAC
|
||||||
:n "M-s" 'some-fn
|
:n "M-s" 'some-fn
|
||||||
:i "M-o" (lambda (interactive) (message "Hi"))))
|
:i "M-o" (cmd! (message "Hi"))))
|
||||||
|
|
||||||
(map! (:when (featurep! :completion company) ; Conditional loading
|
(map! (:when (featurep! :completion company) ; Conditional loading
|
||||||
:i "C-@" #'+company/complete
|
:i "C-@" #'+company/complete
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue