1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-18 05:35:42 +08:00

16 lines
238 B
Lua
Raw Normal View History

local M = {}
function M.enabled()
return {'prettier'}
end
function M.prettier(opt)
return {
exe = 'prettier',
args = {'--stdin-filepath', opt.filepath},
stdin = true,
}
end
return M