When you do q: to access the command history, then session autosave will give the following error message:
Error detected while processing function xolox#misc#cursorhold#autocmd[17]..xolox#session#auto_save_periodic[23]..xolox#session#save_cmd[13]..xolox#session#save_session[44]..xolox#session#save_state:
line 17:
E11: Invalid in command-line window; <CR> executes, CTRL-C quits: mksession /tmp/nvimO5IITt/158
Press ENTER or type command to continue
Error detected while processing function xolox#misc#cursorhold#autocmd[17]..xolox#session#auto_save_periodic[23]..xolox#session#save_cmd:
line 13:
E171: Missing :endif
When you do q: to access the command history, then session autosave will give the following error message: