2023-07-27 19:42:05 +03:00
|
|
|
if true then return {} end -- REMOVE THIS LINE TO ACTIVATE THIS FILE
|
|
|
|
|
|
|
|
-- Exapmle customization of Null-LS sources
|
2023-01-14 22:16:59 +03:00
|
|
|
return {
|
|
|
|
"jose-elias-alvarez/null-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,
|
|
|
|
}
|