config.nvim/lua/plugins/null-ls.lua
2023-03-09 17:25:09 +08:00

13 lines
325 B
Lua

require("mason").setup()
require("mason-null-ls").setup({
automatic_installation = false,
automatic_setup = true, -- Recommended, but optional
})
require("null-ls").setup({
sources = {
-- Anything not supported by mason.
}
})
require 'mason-null-ls'.setup_handlers() -- If `automatic_setup` is true.