kakoune/rc/core
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
..
asciidoc.kak asciidoc.kak: Fix highlighting of _itallic_ markup 2018-03-05 11:20:56 +11:00
c-family.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
comment.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
diff.kak rc: Don't use command aliases to highlight keywords properly 2017-11-03 10:34:41 +03:00
doc.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
formatter.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
grep.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
kakrc.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
make.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
makefile.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
man.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
python.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00
sh.kak Do not reparse %sh{...} strings 2018-07-05 07:54:28 +10:00