Skip to content

Instantly share code, notes, and snippets.

@AndyMoreland
Created December 21, 2015 23:53
Show Gist options
  • Save AndyMoreland/22690a80816138ee7177 to your computer and use it in GitHub Desktop.
Save AndyMoreland/22690a80816138ee7177 to your computer and use it in GitHub Desktop.
Typescript compiler error regexp for emacs M-x compile
(add-hook 'typescript-mode-hook
(lambda ()
(add-to-list 'compilation-error-regexp-alist
'("^\\([_.[:alnum:]-/]*.ts\\)(\\([[:digit:]]+\\),\\([[:digit:]]+\\)).*$" 1 2 3))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment