2022-02-22 21:52:01 +01:00
|
|
|
local M = {}
|
|
|
|
|
|
|
|
function M.setup()
|
2022-02-23 14:52:27 +01:00
|
|
|
local null_ls = require("null-ls")
|
|
|
|
|
|
|
|
local sources = {
|
|
|
|
null_ls.builtins.formatting.prettierd -- format ts files
|
|
|
|
}
|
|
|
|
|
|
|
|
null_ls.setup({sources = sources})
|
2022-02-22 21:52:01 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|