You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the current/expected behavior?
whenever I execute :Prettier it's using tab spaces as 2, even though I have set the value as let g:prettier#config#tab_width = 4
What version of vim-prettier are you using - (output of :PrettierVersion) ?
1.0.0-beta
What version of prettier are you using - (output of :PrettierCliVersion) ?
2.3.1
What is your prettier executable path - (output of :PrettierCliPath) ?
.config/nvim/vim-prettier/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
No
The text was updated successfully, but these errors were encountered:
Hey, I didnt fix it but I did reset my neovim and everything and never encountered this again. Maybe that'll help you. I did switch to 0.6 neovim maybe that's the reason
To solve this you need to add let g:prettier#config#use_tabs = 'false' to your .vimrc. Then you can use let g:prettier#config#tab_width = 2 as intended.
What is the current/expected behavior?
whenever I execute
:Prettier
it's using tab spaces as 2, even though I have set the value aslet g:prettier#config#tab_width = 4
What version of
vim-prettier
are you using - (output of:PrettierVersion
) ?1.0.0-beta
What version of
prettier
are you using - (output of:PrettierCliVersion
) ?2.3.1
What is your
prettier
executable path - (output of:PrettierCliPath
) ?.config/nvim/vim-prettier/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
No
The text was updated successfully, but these errors were encountered: