1
Fork 0
satellite/dotfiles/neovim/lua/my/plugins/null-ls.lua
2022-03-09 20:44:21 +02:00

16 lines
343 B
Lua

local lspconfig = require("my.plugins.lspconfig")
local M = {}
function M.setup()
local null_ls = require("null-ls")
local sources = {
null_ls.builtins.formatting.prettierd.with({extra_filetypes = {"markdown"}}) -- format ts files
}
null_ls.setup({sources = sources, on_attach = lspconfig.on_attach})
end
return M