diff --git a/README.md b/README.md index 5ff7ae8..fee5fb6 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ Then, in your `init.el`: (add-hook 'elixir-mode-hook 'flycheck-mode) ``` +This package works with both [elixir-ts-mode](https://github.com/wkirschbaum/elixir-ts-mode) and [elixir-mode](https://github.com/elixir-editors/emacs-elixir). + ## Options You can tell flycheck-credo to call credo with the '--strict' argument. diff --git a/flycheck-credo.el b/flycheck-credo.el index d21ceac..dcb71a0 100644 --- a/flycheck-credo.el +++ b/flycheck-credo.el @@ -71,7 +71,7 @@ When non-nil, pass the `--strict' flag to credo." (info line-start (file-name) ":" line ": " (or "F" "R" "C") ": " (message) line-end) (warning line-start (file-name) ":" line ":" column ": " (or "D" "W") ": " (message) line-end) (warning line-start (file-name) ":" line ": " (or "D" "W") ": " (message) line-end)) - :modes elixir-mode) + :modes (elixir-ts-mode elixir-mode)) ;;;###autoload (defun flycheck-credo-setup ()