vim-prettier
vim-prettier copied to clipboard
Remove specified versions of dependencies.
Summary Let npm decide which version to use automatically by removing specific ranges from package.json.
According to the npm docs, this change is valid. https://docs.npmjs.com/cli/v10/configuring-npm/package-json#dependencies
This is a fix for https://github.com/prettier/vim-prettier/issues/349#issuecomment-2156835956.
Test Plan
Already ran :Prettier in vim8 and nvim with a test.html open containing the below line.
<!DOCTYPE html><html><head><title>test</title></head><body>test</body></html>
Running :Prettier produced the expected results.
<!doctype html>
<html>
<head>
<title>test</title>
</head>
<body>
test
</body>
</html>