I am trying to add Python backtrace to errorformat in my neovim init.lua :
I added the following line to my init.lua :
vim.opt.errorformat:append { "%.%#File \"%f\"\\, line %l%.%#" }
when I start my neovim everything works fine.
When I use asyncrun, it immediately shows the following error :
Error detected while processing function AsyncRun_Job_OnTimer[12]..<SNR>24_AsyncRun_Job_Update[40]..<SNR>24_AppendText: line 33: E377: Invalid %- in format string
When I add the errorformat using ex command, every thing works fine :
Hello,
I am trying to add Python backtrace to errorformat in my neovim init.lua :
I added the following line to my init.lua :
vim.opt.errorformat:append { "%.%#File \"%f\"\\, line %l%.%#" }
when I start my neovim everything works fine.
When I use asyncrun, it immediately shows the following error :
Error detected while processing function AsyncRun_Job_OnTimer[12]..<SNR>24_AsyncRun_Job_Update[40]..<SNR>24_AppendText: line 33: E377: Invalid %- in format string
When I add the errorformat using ex command, every thing works fine :
:set errorformat+=%.%#File\ \"%f\"\\,\ line\ %l%.%#
Do you know why I have this error ?