fix: return null ls setup user config (#1683)

This commit is contained in:
dklymenk 2021-10-05 00:09:40 +03:00 committed by GitHub
parent 8fb404f7d6
commit 76bee64f17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -12,7 +12,7 @@ function M:setup()
end
null_ls.config()
require("lspconfig")["null-ls"].setup {}
require("lspconfig")["null-ls"].setup(lvim.lsp.null_ls.setup)
for _, filetype in pairs(lvim.lang) do
if filetype.formatters then
formatters.setup(filetype.formatters, filetype)