diff options
author | Connortsui20 | 2023-08-08 12:51:34 +0000 |
---|---|---|
committer | GitHub | 2023-08-08 12:51:34 +0000 |
commit | fcbac485f885d90f6341d7acaf75157a01d81892 (patch) | |
tree | 21184e39c95cd2b3d4e4a706608bf6584c6b9045 /helix-term/src/commands | |
parent | a7a145ad3d78dc0b9f7c2ea289e07d60d9b51d30 (diff) |
Show whether file readonly in statusline (#7740)
Diffstat (limited to 'helix-term/src/commands')
-rw-r--r-- | helix-term/src/commands/typed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 67640f79..5bb9c6c4 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -672,7 +672,7 @@ pub fn write_all_impl( } if doc.path().is_none() { if write_scratch { - errors.push("cannot write a buffer without a filename\n"); + errors.push("cannot write a buffer without a filename"); } return None; } |