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

(formatters, linters, etc)
This commit is contained in:
2022-12-15 04:18:13 +00:00
parent a528a8e1fc
commit 9db94546b7
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" },
}),
}
})