repair command completions
This commit is contained in:
parent
d962dd7c41
commit
d62b9dea3e
@ -168,8 +168,8 @@
|
|||||||
|
|
||||||
{:command nil}
|
{:command nil}
|
||||||
(set-completions
|
(set-completions
|
||||||
(collect [k _ (pairs commands)]
|
(icollect [k _ (pairs commands)]
|
||||||
(if (= (k:find str 1 true) 1) (values k k)))))))
|
(if (= (k:find str 1 true) 1) (completion { :text k})))))))
|
||||||
|
|
||||||
(fn activate [{: state : entry : prompt &as self}]
|
(fn activate [{: state : entry : prompt &as self}]
|
||||||
(tset state :active true)
|
(tset state :active true)
|
||||||
|
@ -65,6 +65,7 @@ focus from entry to step through the completions then RET activates
|
|||||||
* [done] display unbound key error
|
* [done] display unbound key error
|
||||||
* [done] back binding
|
* [done] back binding
|
||||||
* [done] save url history, use it in completions
|
* [done] save url history, use it in completions
|
||||||
|
* [done] autocomplete command name
|
||||||
|
|
||||||
* custom rendering for completions (e.g. buffer thumbnails)
|
* custom rendering for completions (e.g. buffer thumbnails)
|
||||||
* less ugly default completions rendering
|
* less ugly default completions rendering
|
||||||
@ -74,7 +75,6 @@ focus from entry to step through the completions then RET activates
|
|||||||
* bind event to echo-area click, ideally dependent on what's being shown
|
* bind event to echo-area click, ideally dependent on what's being shown
|
||||||
in there
|
in there
|
||||||
* in general, can we bind commands to widget events?
|
* in general, can we bind commands to widget events?
|
||||||
* autocomplete command name
|
|
||||||
* command to create new buffer
|
* command to create new buffer
|
||||||
* keyboard navigation of completions
|
* keyboard navigation of completions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user