in order to remove the escaped ansi color codes from the repl response. I was getting output such as
^[[38;5;9;1mError:^[[0m ^[[1mWhile processing right hand side of
and this pull request fixes that with a regex substitution. It should be possible to properly render ANSI colors into syntax highlighting by using AnsiEsc.vim, but I have not tried that yet.
In addition, this pull request sets the filetype of the response buffer to unix to suppress syntax highlighting (this happens when you open the response buffer with \i before issuing a command to the repl).
Hi,
This pull request adds the option to set
in order to remove the escaped ansi color codes from the repl response. I was getting output such as
and this pull request fixes that with a regex substitution. It should be possible to properly render ANSI colors into syntax highlighting by using AnsiEsc.vim, but I have not tried that yet.
In addition, this pull request sets the filetype of the response buffer to unix to suppress syntax highlighting (this happens when you open the response buffer with \i before issuing a command to the repl).
Note: tested on neovim