I have a function that I'd like to run every time the command line is changed, where by command line I mean the line where text is written when I save a file, get a warning, an error, or echo messages.

I thought CmdlineChanged was what I needed, but after saving a file or issuing a command that doesn't exist to get an error my function isn't executed.

  • 3
    It just happens that the message is printed on the same line as the command line: I don't think there's an event for a message being printed.
    – muru
    Mar 26 '20 at 11:15
  • Without a snippet is it hard to help
    – Tae
    Mar 26 '20 at 12:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.