emacs-jest
emacs-jest copied to clipboard
Add function jest-load-compilation-errors to fix error links
Links in tracebacks in compile buffer weren't working for me. Fix them.
This provides a function (jest-load-compilation-errors)
that modifies the global variables compilation-error-regexp-alist-alist
and compilation-error-regexp-alist
to support jest links. This would need to be called once in init (possible with use-package
) to load.
Note that it's possible that this might cause some conflicts with other modes. The suggested work around for this seems to be the you use dynamic scoping when calling compile
but this didn't seem to be the preferred aprhproach.