aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-02-21all: remove unnecessary flagsHEADmainShulhan
If in vimrc we set the tabstop to 8, the plugin will format the file with tab width set to 8. This plugin should use whatever value from prettier config if it exist or default prettier itself. In another words, I want prettier that I use to be opinionated, less configurations, like gofmt.
2023-10-10Bumping prettier supported versionmitermayer
2023-10-10Updating changelogmitermayer
2023-10-10Relese 1.01.0.0mitermayer
- Adding support for prettier 3.x
2023-10-10Merge pull request #348 from victorspt/fix/consider_option_versionMitermayer Reis
Fix/consider option version
2023-10-09docs: add comment describing global variableVictor S
Wrote a comment describing the global variable that overwrites the "bracketSameLine" option.
2023-10-09docs: remove TODO comment of completed taskVictor S
Removed TODO comment that reminded to compose the flags of the CLI command from a list using list methods. The task is completed.
2023-10-09fix: look option and CLI versions to form commandVictor S
Considered the addition and deprecation versions of each Prettier option contained in the object with details about the CLI flags when composing the CLI command.
2023-10-09docs: add Vim foldings to config.vimVictor S
Added Vim foldings to sections of the code in config.vim to improve file navigation.
2023-10-09refactor: add function to select compatible flagsVictor S
Added a function that selects the flags that are compatible with the version of the Prettier CLI being used. This is part of a plan to compose the flags of the CLI command from an object with flag details.
2023-10-09refactor: add function to filter flags by versionVictor S
Added a function to filter flags that are uncompatible with a supplied version. This is part of a plan to compose the flags of the CLI command from an object with flag details.
2023-10-08test: add tests for version comparisonVictor S
Added unit tests for version-comparison functions.
2023-10-08refactor: add version comparison functionsVictor S
Added 2 functions that compare versions strings according to semantic version. This is part of a plan to compose the flags of the CLI command from an object with flag details.
2023-10-07refactor: add helper functions to get CLI versionVictor S
Added two helper functions to get the version of the Prettier CLI as a string. This is part of a plan to compose the CLI command from an object with flag details.
2023-10-07refactor: add object with Prettier flagsVictor S
Added an object with details about Prettier CLI flags. This is part of a plan to compose the flags of the CLI command from a general object with flag details.
2023-10-07refactor: make mapper function reusableVictor S
Changed the function to make it reusable across versions of the CLI flag. This is part of a plan to compose the CLI command from an object with details about the flags.
2023-10-06refactor: add global variable for bracketSameLineVictor S
Added a global variable for the bracketSameLine option. It is set to the user's defined value and uses the Prettier default as reserve. This is part of a plan to compose the CLI command from an object with details about the flags
2023-10-05refactor: use common parameters in flag functionsVictor S
Adapted flag-mapper functions to use the same parameters. This is part of a plan to expose a common interface from planned objects with flags, to make code flexible to future changes, and to compose the CLI command from a general object with flag details.
2023-10-04refactor: add flag-mapper functionsVictor S
Added general mapper functions that map flag names to parts of a CLI command. They are part a plan to use an object with flag details to compose the CLI command.
2023-10-04refactor: use function to get --stdinVictor S
Added a new function to return the CLI command part for the --stdin flag. This is part of a plan use an object with flag details to compose the CLI command.
2023-10-04refactor: use function to get --loglevelVictor S
Added a new function to return the CLI command part for the --loglevel flag. This is part of a plan to compose the CLI command from a general object with flag details.
2023-10-04refactor: use function to get --stdin-filepathVictor S
Added a new function to get the command part of the --stdin-filepath flag. This is part of a plan to compose the CLI command from an object with flag details.
2023-10-04refactor: split range getter into two partsVictor S
Split the function that returns the visual selection range into two parts that return the start and the end of the range respectively, and use them in the CLI-command composer. This is part of a plan to use a general object with details about flags to compose the CLI command.
2021-11-24Merge pull request #315 from aaronArinder/readme-updated-with-autosave-configMitermayer Reis
readme: example config: autoformat on save without pragma
2021-11-24Merge pull request #316 from sharils/masterMitermayer Reis
Improve install instruction
2021-11-02Minimise node_modules sizesharils
2021-11-02Install without updating lockfilesharils
2021-10-18readme: example config: autoformat on save without pragmaAaron Arinder
2021-06-29Merge pull request #301 from fvictorio/masterMitermayer Reis
Update prettier to latest version
2021-06-29Merge branch 'master' into masterMitermayer Reis
2021-06-29Merge pull request #305 from prettier/dependabot/npm_and_yarn/ws-5.2.3Mitermayer Reis
Bump ws from 5.2.2 to 5.2.3
2021-06-28Bump ws from 5.2.2 to 5.2.3dependabot[bot]
Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3) --- updated-dependencies: - dependency-name: ws dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2021-06-29Merge pull request #304 from 0x000def42/masterMitermayer Reis
2021-06-28feat: Adding support for prettier svelte pluginDmitriy
2021-06-15Update prettier to latest versionFranco Victorio
2021-06-03Merge pull request #300 from rodrigolive/lockmarksMitermayer Reis
enh: save buffer marks between runs
2021-06-02enh: save buffer marks between runsRodrigo Gonzalez
2021-05-24Merge pull request #289 from rschristian/docs/readme-typoMitermayer Reis
docs: Fixing typo in readme
2021-05-24Merge pull request #295 from prettier/dependabot/npm_and_yarn/handlebars-4.7.7Mitermayer Reis
Bump handlebars from 4.7.2 to 4.7.7
2021-05-24Merge pull request #296 from prettier/dependabot/npm_and_yarn/lodash-4.17.21Mitermayer Reis
Bump lodash from 4.17.19 to 4.17.21
2021-05-24Merge pull request #297 from ↵Mitermayer Reis
prettier/dependabot/npm_and_yarn/hosted-git-info-2.8.9 Bump hosted-git-info from 2.8.5 to 2.8.9
2021-05-24Merge pull request #299 from laher/masterMitermayer Reis
fix for #287: update dependency (prettier-php) to fix build
2021-05-24fix for #287: update dependency (prettier-php) to fix buildAm Laher
2021-05-11Bump hosted-git-info from 2.8.5 to 2.8.9dependabot[bot]
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.5 to 2.8.9. - [Release notes](https://github.com/npm/hosted-git-info/releases) - [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md) - [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.5...v2.8.9) Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11Bump lodash from 4.17.19 to 4.17.21dependabot[bot]
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21) Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08Bump handlebars from 4.7.2 to 4.7.7dependabot[bot]
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.2 to 4.7.7. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.2...v4.7.7) Signed-off-by: dependabot[bot] <support@github.com>
2021-04-28Merge pull request #291 from prettier/dependabot/npm_and_yarn/y18n-3.2.2Mitermayer Reis
Bump y18n from 3.2.1 to 3.2.2
2021-03-31Bump y18n from 3.2.1 to 3.2.2dependabot[bot]
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2. - [Release notes](https://github.com/yargs/y18n/releases) - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/yargs/y18n/commits) Signed-off-by: dependabot[bot] <support@github.com>
2021-03-28docs: Fixing typo in readmeRyan Christian
2021-03-04Merge pull request #282 from Chocrates/masterMitermayer Reis
Add dein config to readme