Skip to content

Commit

Permalink
(fix) user defined prettier plugins gets overridden by svelte plugin (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ni-max committed Sep 6, 2022
1 parent 599ddfb commit 0bffac8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -106,7 +106,7 @@ export class SveltePlugin

const formattedCode = prettier.format(document.getText(), {
...config,
plugins: getSveltePlugin(),
plugins: [...(config.plugins ?? []), ...getSveltePlugin()],
parser: 'svelte' as any
});

Expand Down

0 comments on commit 0bffac8

Please sign in to comment.