how to install vim-prettier with the option "do:yarn install"?
Opened this issue · 2 comments
Deleted user commented
I have installed yarn。Vim shows "yarn install" isn't the commander of editor.
k-takata commented
Try {'do': 'silent! !yarn install'}
or {'do': {-> system('yarn install')}}
.
The 'do' option must be an Ex command or a Funcref.
Deleted user commented
Thanks a lot!