irongit

My nvim configuration

hygo-nvim/compiler/django.lua
24 lines561 BLua
1vim.cmd [[
2set efm=
3
4"Logging formatter for the following format
5"%(asctime)s %(levelname)s %(pathname)s:%(lineno)s %(message)s
6set efm+=%E%.%#ERROR\ %f:%l\ %m
7
8"Snag the django test error itself
9set efm+=%EERROR:\ %o\ (%m)
10
11"Ignore the system path, add more system paths for python if needed
12set efm+=%-G%.%#miniconda%.%#
13
14"Extract the error message
15set efm+=%E%.%#File\ \"%f\"%*[^l]line\ %l%.%#
16set efm+=%-Z%*[-]
17set efm+=%+C%\\w%.%#
18set efm+=%-C%.%#
19
20"Ignore any leftover text without any error messages
21set efm+=%-G%.%#
22set efm+=%-G%.%.%#
23set efm+=%-G%p
24]]