diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-07-31 14:22:57 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-07-31 14:22:57 +0200 |
| commit | 36070dd429af69f1042f4ee56488a960c4d8e7ef (patch) | |
| tree | bdf9ab393e5b8e632a46319d4d3923fe19608e37 /src/buffer.cc | |
| parent | ac2676cbcfa3be81b6136efc28b009bc25489c30 (diff) | |
CommandManager: rework command parser
a new type of strings is supported inspired by the ruby strings.
%<delimiter>content<delimiter>, if opening delimiter is one of
([{<, then closing delimiter is the matching )]}> and balanced
delimiters in the string needs not to be escaped, else the closing
delimiter is the same as the opening one.
shell expansion is available through %sh<delimiter>command<delimiter>
syntax.
Command flags have been removed, as these strings provide proper nesting
support, so now, you can for example do:
def command %{ echo %sh{ ls } }
Diffstat (limited to 'src/buffer.cc')
0 files changed, 0 insertions, 0 deletions
