acp: Disable external agents over SSH (#37402)

Follow-up to #37377 

Show a clearer error here until SSH support is implemented.

Release Notes:

- N/A
This commit is contained in:
Cole Miller
2025-09-02 19:29:21 -04:00
committed by GitHub
parent 63b3839a83
commit 564ded71c1
5 changed files with 9 additions and 15 deletions
-1
View File
@@ -216,7 +216,6 @@ impl Vim {
// If the file ends with a newline (which is common) we don't do this.
// so that if you go to the end of such a file you can use "up" to go
// to the previous line and have it work somewhat as expected.
#[allow(clippy::nonminimal_bool)]
if !selection.reversed
&& !selection.is_empty()
&& !(selection.end.column() == 0 && selection.end == map.max_point())