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

Prettier extension for coc.nvim.

Results 28 coc-prettier issues
Sort by recently updated
recently updated
newest added

in vscode I have this configuration and I want to pass everything to nvim but it's not working ```js // .vscode/settings.json { "editor.formatOnSave": true, "editor.defaultFormatter": "esbenp.prettier-vscode", "[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode"...

Content of coc-settings.json file: ``` { "coc.preferences.formatOnSaveFiletypes": ["*"] } ``` or ``` { "coc.preferences.formatOnSaveFiletypes": ["*"], "prettier.ignorePath": "./.prettierignore" } ``` Repository folder structure: > repository-folder/ > --.prettierignore > --subfolder/ > ----.prettierignore...

[email protected] is published which forked from [email protected] Differences between prettier-vscode: - `prettier.disableLanguages` still works. - Added configuration`prettier.formatterPriority`. - Added configuration `prettier.statusItemText`. Check out https://github.com/neoclide/coc-prettier/blob/master/CHANGELOG.md for updates.

Is there a way to make prettier ignore commented lines inside the file that's supposed to be formatted? I noticed this when I commented a whole function, and once I...

Pnpify documentation shows that prettier is supported https://yarnpkg.com/advanced/editor-sdks#vim--cocnvim but we need to add a custom `prettierPath` to the `coc-settings.json` so that the pnpified prettier can be used. Can `coc-prettier` add...

enhancement

I tried graphql code as template string preceded with `gql` and as dedicated `.graphql` file but nothing happens on save. I have set `"coc.preferences.formatOnSaveFiletypes": ["*"]` in my config.

Related with #102, it seems that depending on the code structure `coc-prettier` will partially remove file contents instead of formatting whenever folding is enabled. The file being test against is...

question

Given some project that DOES NOT use Prettier, coc-prettier, when using the following configuration, will run on save: ```json { "coc.preferences.formatOnSaveFiletypes": ["css", "markdown"] } ``` This is actually as documented!...

bug

Result from CocInfo ``` ## versions vim version: NVIM v0.5.0-dev+acd643bd4 node version: v15.10.0 coc.nvim version: 0.0.80-bd41b16bd9 coc.nvim directory: /Users/srg/.config/nvim/plugged/coc.nvim term: xterm-kitty platform: darwin ## Log of coc.nvim 2021-03-31T12:57:15.857 INFO (pid:82753)...

wontfix

when I ran `:Prettier` to format my scss file. I got this error, Could you help me fixing it? thanks ``` [coc.nvim]: UnhandledRejection: Couldn't resolve parser "postcss" Error: Couldn't resolve...