You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
567 B

local M = {
"nvimtools/none-ls.nvim",
}
function M.config()
local null_ls = require "null-ls"
local formatting = null_ls.builtins.formatting
null_ls.setup {
debug = true,
sources = {
formatting.stylua,
formatting.prettier,
-- formatting.prettier.with {
-- extra_filetypes = { "toml" },
-- -- extra_args = { "--no-semi", "--single-quote", "--jsx-single-quote" },
-- },
-- formatting.eslint,
-- null_ls.builtins.diagnostics.eslint,
null_ls.builtins.completion.spell,
},
}
end
return M