Update default gitsigns source

This commit is contained in:
Ryan 2024-01-03 13:16:08 +08:00
parent 68a06dc0ea
commit 1145f64b93
No known key found for this signature in database
GPG Key ID: DB5B3AC49EEFD2A5

View File

@ -1,13 +1,15 @@
require("mason").setup() require("mason").setup()
require("mason-null-ls").setup({ require("mason-null-ls").setup({
ensure_installed = { ensure_installed = {
-- Opt to list sources here, when available in mason. -- Opt to list sources here, when available in mason.
}, },
automatic_installation = false, automatic_installation = false,
handlers = {}, handlers = {},
}) })
require("null-ls").setup({
sources = { local null_ls = require("null-ls")
-- Anything not supported by mason. null_ls.setup({
} sources = {
null_ls.builtins.code_actions.gitsigns,
}
}) })