First c ommit ever

This commit is contained in:
LinlyBoi
2022-11-25 10:36:46 +02:00
commit 08cdff2f3f
214 changed files with 10989 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
local present, null_ls = pcall(require, "null-ls")
if not present then
return
end
local b = null_ls.builtins
local sources = {
-- webdev stuff
b.formatting.deno_fmt,
b.formatting.prettier,
-- Lua
b.formatting.stylua,
-- Shell
b.formatting.shfmt,
b.diagnostics.shellcheck.with { diagnostics_format = "#{m} [#{c}]" },
}
null_ls.setup {
debug = true,
sources = sources,
}