My nvim configuration
feat: absolute gas django-test errorformat
1 file changed, +15 -0
+15-0compiler/django-test.lua
| @@ -0,0 +1,15 @@ | ||
| 1 | +vim.cmd [[ | |
| 2 | +"Ignore the system path, add more system paths for python if needed | |
| 3 | +set efm=%-G%.%#miniconda%.%# | |
| 4 | + | |
| 5 | +"Ignore the squiggly lines underneath error messages | |
| 6 | +set efm+=%-G%p%*[~^] | |
| 7 | + | |
| 8 | +"Extract the error message | |
| 9 | +set efm+=%E%*[\ ]File\ \"%f\"%*[^l]line\ %l%.%# | |
| 10 | +set efm+=%C%p%m | |
| 11 | +set efm+=%Z%.%# | |
| 12 | + | |
| 13 | +"Ignore any leftover blank lines | |
| 14 | +set efm+=%-G%p | |
| 15 | +]] |