Do you want to request a feature or report a bug?
Bug
What is the current/expected behavior?
Vim-prettier is not using project's config. This is my config:
module.exports = {
printWidth: 80,
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: false,
trailingComma: "all",
bracketSpacing: true,
};
And when I type :Prettier it formats my code from:
import { x } from "x"; to import {x} from 'x';
What version of vim-prettier are you using - (output of :PrettierVersion) ?
0.2.7
What version of prettier are you using - (output of :PrettierCliVersion) ?
1.14.3^@
What is your prettier executable path - (output of :PrettierCliPath) ?
/Volumes/D\ 2/projects/foo/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
Dunno, I'm using it first time
Maybe I skiped some instalation step? I'm using Vundle as plugin manager, I've added line Plugin 'prettier/vim-prettier' and typed yarn install at .vim/bundle/vim-prettier.
Do you want to request a feature or report a bug?
Bug
What is the current/expected behavior?
Vim-prettier is not using project's config. This is my config:
And when I type
:Prettierit formats my code from:import { x } from "x";toimport {x} from 'x';What version of
vim-prettierare you using - (output of:PrettierVersion) ?0.2.7What version of
prettierare you using - (output of:PrettierCliVersion) ?1.14.3^@What is your
prettierexecutable path - (output of:PrettierCliPath) ?/Volumes/D\ 2/projects/foo/node_modules/.bin/prettierDid this work in previous versions of vim-prettier and/or prettier ?
Dunno, I'm using it first time
Maybe I skiped some instalation step? I'm using Vundle as plugin manager, I've added line
Plugin 'prettier/vim-prettier'and typedyarn installat.vim/bundle/vim-prettier.