dotfiles/lvim/lua/configs/prettier.lua

20 lines
314 B
Lua
Raw Permalink Normal View History

2024-09-02 22:36:54 +03:00
local prettier = require("prettier")
prettier.setup({
bin = 'prettier', -- or `'prettierd'` (v0.23.3+)
filetypes = {
"css",
"graphql",
"html",
"javascript",
"javascriptreact",
"json",
"less",
"markdown",
"scss",
"typescript",
"typescriptreact",
"yaml",
},
})