fix(none-ls): update null-ls file to none-ls

This commit is contained in:
Micah Halter
2023-12-14 16:05:47 -05:00
parent ba2038a9c6
commit 02bbc5fca7

20
lua/plugins/none-ls.lua Normal file
View File

@ -0,0 +1,20 @@
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
-- Example customization of Null-LS sources
return {
"nvimtools/none-ls.nvim",
opts = function(_, config)
-- config variable is the default configuration table for the setup function call
-- local null_ls = require "null-ls"
-- Check supported formatters and linters
-- https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/formatting
-- https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/diagnostics
config.sources = {
-- Set a formatter
-- null_ls.builtins.formatting.stylua,
-- null_ls.builtins.formatting.prettier,
}
return config -- return final config table
end,
}