jscheid / prettier.el

Prettier code formatting for Emacs.
GNU General Public License v3.0
164 stars 11 forks source link

(defvar prettier-parser-history nil) ? #59

Closed xuchunyang closed 3 years ago

xuchunyang commented 3 years ago

With helm-mode is on, C-u prettier-prettify does not work and complains prettier-parser-history is not defined. With vanilla Emacs completion, this seems not an issue, I just learnt Emacs'll define the variable automatically. In my past impression, authors define the history variable explicitly.

jscheid commented 3 years ago

@xuchunyang thanks, #60 should fix both issues you've reported.

Could you install the tarball for that PR and see if it works? You can download it here (unzip the zip file but don't untar the tarball.)

xuchunyang commented 3 years ago

It works.