vim-prettier icon indicating copy to clipboard operation
vim-prettier copied to clipboard

Remove specified versions of dependencies.

Open fbosio opened this issue 1 year ago • 0 comments

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>

fbosio avatar Jun 11 '24 15:06 fbosio