You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
627 B
Lua
19 lines
627 B
Lua
return {
|
|
"jose-elias-alvarez/null-ls.nvim",
|
|
event = { "BufReadPre", "BufNewFile" },
|
|
dependencies = { "mason.nvim" },
|
|
opts = function()
|
|
local nls = require("null-ls")
|
|
return {
|
|
root_dir = require("null-ls.utils").root_pattern(".null-ls-root", ".neoconf.json", "Makefile", ".git"),
|
|
sources = {
|
|
nls.builtins.formatting.fish_indent,
|
|
nls.builtins.diagnostics.fish,
|
|
nls.builtins.formatting.stylua,
|
|
nls.builtins.formatting.shfmt,
|
|
nls.builtins.diagnostics.flake8,
|
|
},
|
|
}
|
|
end,
|
|
}
|