summaryrefslogtreecommitdiff
path: root/src/command_manager.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2016-12-07 20:07:32 +0000
committerMaxime Coste <mawww@kakoune.org>2016-12-07 20:07:32 +0000
commit03eb128536acb3d870b7010ae3cad3d2b707cf72 (patch)
tree536eb80b5906fb7cee33d119592b99c0857277c3 /src/command_manager.hh
parentbc8b30c988cf8b471cac0b2bc5cea9fd8594c846 (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.hh4
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