0

I'm using a plugin, bexec, to execute a test script. The plugin opens up a new buffer to the right of my code and it displays the output of the test script:

terminal screenshot

I would like to have syntax highlighting for the test script output. I'm using standard Perl testing modules (Test::More, etc.).

Can someone please point me in the right direction for making this happen?

4
  • What syntax highlighting are you looking for in the new window? Some new, custom one, or something already defined? – muru Feb 28 '17 at 10:13
  • Something already define that will show warnings in red and passed tests in green. – StevieD Feb 28 '17 at 14:07
  • I guess my first question is: how do I apply syntax highlighting to a buffer and how do I tell vim what syntax to highlight? – StevieD Feb 28 '17 at 18:53
  • Did you took a look into :h syntax? – TornaxO7 Apr 29 at 6:42

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.