aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/prettier.lua
blob: 05d46658cac0e2c1b35f57f7fc26dced21b10809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
local status, prettier = pcall(require, "prettier")
if (not status) then return end

prettier.setup {
  bin = 'prettierd',
  filetypes = {
    "c",
    "lua",
    "vim",
    --"css",
    --"javascript",
    --"javascriptreact",
    --"typescript",
    --"typescriptreact",
    --"json",
    --"scss",
    "less"
  }
}