ormolu.el icon indicating copy to clipboard operation
ormolu.el copied to clipboard

not working with default install

Open arjunkathuria opened this issue 2 years ago • 3 comments

i'm repeatedly running into the issue

Invalid option `--stdin-input-file'`

when trying to format buffer, which i think is set by default ?

setup config is simple and is mentioned below in it's entirety

(use-package ormolu
  ;; :hook (haskell-mode . ormolu-format-on-save-mode)
  :bind
  (:map haskell-mode-map
        ("C-c r" . ormolu-format-buffer)))

arjunkathuria avatar May 31 '22 05:05 arjunkathuria

Which version of ormolu are you using? Does updating ormolu help?

(Related to #15)

vyorkin avatar May 31 '22 08:05 vyorkin

@vyorkin

$ ormolu --version
ormolu 0.5.0.0 UNKNOWN UNKNOWN
using ghc-lib-parser 9.2.2.20220307

updating doesn't help since this is the latest version i believe

arjunkathuria avatar May 31 '22 12:05 arjunkathuria

I also have an issue where it just says Searching for program: No such file or directory, ormolu in the error buffer

FFFluoride avatar Oct 24 '23 19:10 FFFluoride