prettier / prettier/vim-prettier
On format, split gets scrolled to bottom of file.
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 1.8k
- Forks
- 137
- PR merge metrics
- No merged PRs in 30d
Description
Do you want to request a feature or report a bug?
Report a bug.
What is the current/expected behavior?
When a file is formatted, my split open to the same file gets scrolled to the bottom. This is pretty annoying.
What version of vim-prettier are you using - (output of :PrettierVersion) ?
1.0.0-alpha
What version of prettier are you using - (output of :PrettierCliVersion) ?
1.19.1
What is your prettier executable path - (output of :PrettierCliPath) ?
/home/dylan/development/siesde/drp/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
I do not know.
This happens in every file type I've tried so far, vue files and javascript files.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Vim using the reported vim-prettier 1.0.0-alpha and Prettier 1.19.1 versions with JavaScript or Vue files. Start from the formatting command and its handling of the split window; done means formatting no longer scrolls the split showing the same file to the bottom.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, vim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100