prettier
This commit is contained in:
parent
487d940a75
commit
58bae2629b
1 changed files with 23 additions and 0 deletions
23
plugins/prettier.lua
Normal file
23
plugins/prettier.lua
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
return {
|
||||||
|
"MunifTanjim/prettier.nvim",
|
||||||
|
config = function()
|
||||||
|
prettier.setup({
|
||||||
|
bin = 'prettierd', -- or `'prettierd'` (v0.23.3+)
|
||||||
|
filetypes = {
|
||||||
|
"css",
|
||||||
|
"graphql",
|
||||||
|
"html",
|
||||||
|
"javascript",
|
||||||
|
"javascriptreact",
|
||||||
|
"json",
|
||||||
|
"less",
|
||||||
|
"markdown",
|
||||||
|
"scss",
|
||||||
|
"typescript",
|
||||||
|
"typescriptreact",
|
||||||
|
"yaml",
|
||||||
|
"astro",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end
|
||||||
|
}
|
Loading…
Reference in a new issue