diff options
| author | Maxime Coste <mawww@kakoune.org> | 2016-12-07 20:07:32 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2016-12-07 20:07:32 +0000 |
| commit | 03eb128536acb3d870b7010ae3cad3d2b707cf72 (patch) | |
| tree | 536eb80b5906fb7cee33d119592b99c0857277c3 /src/command_manager.hh | |
| parent | bc8b30c988cf8b471cac0b2bc5cea9fd8594c846 (diff) | |
Ensure content of expanded strings in modelinefmt is not interpreted as markup
Diffstat (limited to 'src/command_manager.hh')
| -rw-r--r-- | src/command_manager.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command_manager.hh b/src/command_manager.hh index 563d5431..4a326613 100644 --- a/src/command_manager.hh +++ b/src/command_manager.hh @@ -133,6 +133,10 @@ private: String expand(StringView str, const Context& context, const ShellContext& shell_context = ShellContext{}); +String expand(StringView str, const Context& context, + const ShellContext& shell_context, + std::function<String (String)> postprocess); + } #endif // command_manager_hh_INCLUDED |
