documentation for display mode revamp
@@ -287,14 +287,15 @@ require'sniprun'.setup({
}
},
- --# you can combo different display modes as desired
+ --# you can combo different display modes as desired and with the 'Ok' or 'Err' suffix
+ --# to filter only sucessful runs (or errored-out runs respectively)
display = {
"Classic", --# display results in the command-line area
"VirtualTextOk", --# display ok results as virtual text (multiline is shortened)
- -- "VirtualTextErr", --# display error results as virtual text
+ -- "VirtualText", --# display results as virtual text
-- "TempFloatingWindow", --# display results in a floating window
- -- "LongTempFloatingWindow", --# same as above, but only long results. To use with VirtualText__
+ -- "LongTempFloatingWindow", --# same as above, but only long results. To use with VirtualText[Ok/Err]
-- "Terminal", --# display results in a vertical split
-- "TerminalWithCode", --# display results and code history in a vertical split
-- "NvimNotify", --# display with the nvim-notify plugin
