Use menu behavior when completing doc
We can complete every valid argument.
This commit is contained in:
parent
69053d9623
commit
0b5dcf062f
|
@ -160,7 +160,7 @@ define-command -params 0..2 \
|
||||||
' < $page | tr '[A-Z ]' '[a-z-]'
|
' < $page | tr '[A-Z ]' '[a-z-]'
|
||||||
fi;;
|
fi;;
|
||||||
esac
|
esac
|
||||||
} \
|
} -menu \
|
||||||
doc -docstring %{
|
doc -docstring %{
|
||||||
doc <topic> [<keyword>]: open a buffer containing documentation about a given topic
|
doc <topic> [<keyword>]: open a buffer containing documentation about a given topic
|
||||||
An optional keyword argument can be passed to the function, which will be automatically selected in the documentation
|
An optional keyword argument can be passed to the function, which will be automatically selected in the documentation
|
||||||
|
|
Loading…
Reference in New Issue
Block a user