Skip to content

Commit

Permalink
Extend support for env detection to elixir-ts-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dpassen authored and seagle0128 committed Mar 18, 2024
1 parent 8996917 commit 6846b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doom-modeline-env.el
Expand Up @@ -268,7 +268,7 @@ PARSER should be a function for parsing COMMAND's output line-by-line, to

;;;###autoload (autoload 'doom-modeline-env-setup-elixir "doom-modeline-env")
(doom-modeline-def-env elixir
:hooks 'elixir-mode-hook
:hooks '(elixir-mode-hook elixir-ts-mode-hook)
:command (lambda () (list (or doom-modeline-env-elixir-executable "elixir") "--version"))
:parser (lambda (line) (cadr (split-string line))))

Expand Down

0 comments on commit 6846b9a

Please sign in to comment.