Commit Graph

16 Commits

Author SHA1 Message Date
Maxime Coste
9118a18d5d Change completions option docstring element to be an arbitrary command
We can have the previous behaviour by just passing the docstring to
`info -placement menu`.
2019-04-17 08:38:52 +02:00
Tim Allen
e493eba46d expansions.asciidoc: Rewrite to make Kakoune syntax the primary reference.
Also, moved the "Markup strings" section to faces.asciidoc, since it wasn't
anything to do with expansions, and updated various hyperlinks to point at the
new location.
2018-09-25 18:31:29 +10:00
Frank LENORMAND
a4a4c349a8 doc interfacing: Fix minor issues in examples, grammar 2018-08-25 15:11:10 +03:00
Maxime Coste
ec16969609 Do not reparse %sh{...} strings
Automatic reparsing of %sh{...}, while convenient in many cases,
can be surprising as well, and can lead to security problems:

'echo %sh{ printf "foo\necho bar" }' runs 'echo foo', then 'echo bar'.
we make this danger explicit, and we fix the 'nop %sh{...}' pattern.

To reparse %sh{...} strings, they can be passed to evaluate-commands,
which has been fixed to work in every cases where %sh{...} reparsing
was used..
2018-07-05 07:54:28 +10:00
Maxime Coste
e39e91049c interfacing.asciidoc: Fix some errors in the interactive sample
Fixes #1891
2018-03-01 00:10:03 +11:00
Frank LENORMAND
41822f630c doc: Fix some issues in spelling, grammar and punctuation 2017-04-21 13:59:38 +03:00
Maxime Coste
e0c1f33427 Improve documentation for completions options 2016-08-17 19:52:53 +01:00
Martin Chaine
b9144f151a Update completion documentation 2016-08-17 18:24:59 +02:00
Maxime Coste
4380683cad Fix a few out of date informations in interfacing.asciidoc 2015-11-01 11:11:44 +00:00
Maxime Coste
ecfb715145 Update interfacing.asciidoc 2015-05-07 13:42:58 +01:00
Maxime Coste
ed1c47482d Fix interfacing.asciidoc wrong redirections 2015-04-02 19:17:55 +01:00
Maxime Coste
4ba99f7d6f Update documentation 2014-03-02 02:08:17 +00:00
Maxime Coste
feff965ac6 Remove setg/setb/setw and use set <scope>
(with scope a prefix of global,buffer or window)
2013-10-30 09:38:40 +00:00
Maxime Coste
60f03ae4e8 Fixes in interfacing.asciidoc 2013-10-11 09:58:36 +01:00
Maxime Coste
021627133a update interfacing.asciidoc 2013-07-24 23:18:52 +02:00
Maxime Coste
0be8566dd7 Add interfacing.asciidoc describing how to interact with external programs 2013-05-29 18:57:46 +02:00