config.nvim/lua/plugins/null-ls.lua

16 lines
305 B
Lua
Raw Normal View History

2023-03-09 17:25:09 +08:00
require("mason").setup()
require("mason-null-ls").setup({
2024-01-03 13:16:08 +08:00
ensure_installed = {
-- Opt to list sources here, when available in mason.
},
automatic_installation = false,
handlers = {},
2023-03-09 17:25:09 +08:00
})
2024-01-03 13:16:08 +08:00
local null_ls = require("null-ls")
null_ls.setup({
sources = {
null_ls.builtins.code_actions.gitsigns,
}
2023-03-09 17:25:09 +08:00
})