sphamba/smear-cursor.nvim

Issue with cmdline behavior even with `smear_to_cmd = false`

Closed this issue · 2 comments

bew commented

Usually when I'm working on nvim's highlights, it's not uncommon to write multiple commands.
Neovim has a builtin behavior that when a previous command gave some outputs, starting a new command with : would leave the previous cmd's output for easy reference.

This builtin behavior is currently broken with this plugin, even when smear_to_cmd = false. :/

See for yourself:

Peek.2025-01-05.06-42.mp4

Here I first show with the plugin enabled, that the behavior is broken (trying to run :hi Comment, then immediately followed by : to start another command).
Then I disable the plugin and show how it's supposed to work.
Then I re-enable it it again and the the issue again (more visible this time).

Environment

  • OS: Linux (NixOS)
  • Terminal: Wezterm
  • Neovim version: v0.10.1
  • Smear-cursor version/commit: 051fe67

Thanks for noticing! Could you test revision 7e23d64 and see if it solves the issue?

bew commented

Thanks for noticing! Could you test revision 7e23d64 and see if it solves the issue?

It does yes 👍