Skip to content

Commit

Permalink
Unbreak.
Browse files Browse the repository at this point in the history
  • Loading branch information
bodil committed Feb 18, 2014
1 parent 65dbf5e commit e443ad8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions bodil-js.el
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,16 @@
(package-require 'tss)
(add-to-list 'auto-mode-alist '("\\.ts$" . typescript-mode))

(define-key typescript-mode-map (kbd "C-c C-k")
(lambda () (interactive)
(projectile-with-default-dir (projectile-project-root)
(compile "npm -s run compile"))))
(eval-after-load "typescript"
'(define-key typescript-mode-map (kbd "C-c C-k")
(lambda () (interactive)
(projectile-with-default-dir (projectile-project-root)
(compile "npm -s run compile")))))
(add-to-list 'compilation-error-regexp-alist
'("^\\(.+?\\)(\\([[:digit:]]+\\),\\([[:digit:]]+\\)): \\(.*\\)$"
1 2 3 nil 1))

(package-require 'flycheck)
(require 'bodil-flycheck)
(require 'flycheck)
(flycheck-define-checker tslint
"Use tslint to flycheck TypeScript code."
Expand Down

0 comments on commit e443ad8

Please sign in to comment.