Added null-ls plugin.This enables certain tools to act as LSPs

(formatters, linters, etc)
This commit is contained in:
Afonso Franco 2022-12-15 04:18:13 +00:00
parent 0baee67ded
commit 13b0b340f9
Signed by: afonso
GPG key ID: C459E0BB3DCEE899
3 changed files with 69 additions and 46 deletions

View file

@ -0,0 +1,10 @@
local null_ls = require("null-ls")
null_ls.setup({
sources = {
null_ls.builtins.formatting.rustfmt,
null_ls.builtins.formatting.prettierd.with({
filetypes = { "html", "json", "yaml", "markdown" },
}),
}
})