diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-08-27 21:52:57 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-08-29 07:53:59 +1000 |
| commit | 68aba9e353961ccae17183ccdc65c3c89bdcd6c6 (patch) | |
| tree | d8930ba60ce8a3da06d31e7e1b9ea687f08ca866 /src/scope.cc | |
| parent | 373858f9bfb50fe2c5670beffbfe63654cc12314 (diff) | |
Use shell specific quoting for env vars
Add a test case to validate roundtrips between Kakoune and the
shell.
Diffstat (limited to 'src/scope.cc')
| -rw-r--r-- | src/scope.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scope.cc b/src/scope.cc index f2879356..2930be97 100644 --- a/src/scope.cc +++ b/src/scope.cc @@ -19,7 +19,7 @@ void GlobalScope::on_option_changed(const Option& option) { Context empty_context{Context::EmptyContextFlag{}}; hooks().run_hook("GlobalSetOption", - format("{}={}", option.name(), option.get_as_string()), + format("{}={}", option.name(), option.get_as_string(Quoting::Kakoune)), empty_context); } |
