3 Commits
Author SHA1 Message Date
Amadeus DemarziandGitHub 1174b3b81e Don't echom if not in normal mode (#4560) 2023-07-31 08:39:30 +01:00
Amadeus DemarziandGitHub b3d1d6eecf Use echon over echom for cursor echo (#3888)
* Problem messages no longer clutter `:messages`
* Messages are truncated better
2022-04-01 13:54:23 +01:00
Amadeus DemarziandGitHub 35d0bd1519 Fix truncated echo (#3889)
* Fix truncated echo

In typescript, when putting the cursor on a `>` character of an arrow
function, the displayString body comes back as an empty string, and
means the split operation has 0 items, causing a failure when attempting
to call TruncatedEcho.

Even if there's a better fix, I'd assume this is a good safety since we
are injesting external data.

* Convert to use `empty()`
2021-09-06 11:26:32 +09:00