prettier / vim-prettier

A Vim plugin for Prettier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prettier doesn't work

dcruz1990 opened this issue · comments

Just installed it via Plug, it recognizes Prettier commands but doesn't work
2021-12-21-151822_830x98_scrot

Edit:
Im using Neovim latest, installed prettier globally on /usr/bin/prettier

What version of vim-prettier are you using - (output of :PrettierVersion) ?
0.2.7

What version of prettier are you using - (output of :PrettierCliVersion) ?
Same error as picture

What is your prettier executable path - (output of :PrettierCliPath) ?
Same error as picture

Did this work in previous versions of vim-prettier and/or prettier ?
NaN

For reference, i get this error when i blindly copy from README:
Plug 'prettier/vim-prettier', { \ 'do': 'yarn install --frozen-lockfile --production', \ 'branch': 'release/0.x' \ }

Removing branch line above it works ok.