I want to do something like
let colors = execute(":highlight")
This is obviously wrong, all I can do is execute(":highlight") , which will open the window, but I really need to get the contents of this window into a variable, which is very similar to calling system() for external commands. It can be done?
source share