aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/rl-next/repl-edit-store.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/rl-next/repl-edit-store.md')
-rw-r--r--doc/manual/rl-next/repl-edit-store.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/manual/rl-next/repl-edit-store.md b/doc/manual/rl-next/repl-edit-store.md
new file mode 100644
index 000000000..e93bde07d
--- /dev/null
+++ b/doc/manual/rl-next/repl-edit-store.md
@@ -0,0 +1,11 @@
+---
+synopsis: "`:edit`ing a file in Nix store no longer reloads the repl"
+issues: [fj#341]
+cls: [1620]
+category: Improvements
+credits: [goldstein]
+---
+
+Calling `:edit` from the repl now only reloads if the file being edited was outside of Nix store.
+That means that all the local variables are now preserved across `:edit`s of store paths.
+This is always safe because the store is read-only.