Restore missing parse function line argument

This commit is contained in:
Henrik Lissner 2019-03-06 23:28:03 -05:00
parent aca6c96c6e
commit 13197b6c9b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -223,7 +223,7 @@ PARSER should be a function for parsing COMMAND's output line-by-line, to
(doom-modeline-def-env elixir
:hooks 'elixir-mode-hook
:command (lambda () (list (or doom-modeline-env-elixir-executable "iex") "--version"))
:parser (lambda () (cadr (split-string line))))
:parser (lambda (line) (cadr (split-string line))))
;;;###autoload (autoload 'doom-modeline-env-setup-rust "doom-modeline-env")
(doom-modeline-def-env rust