From a9f6ce62165fab7c8b98311de8fe39fbb6ccfc3c Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Mon, 4 Sep 2023 03:43:54 +0200 Subject: [PATCH] Add mason-update-all --- lua/config/mason_update_all.lua | 19 +++++++++++++++++++ lua/plugins.lua | 4 ++++ 2 files changed, 23 insertions(+) create mode 100644 lua/config/mason_update_all.lua diff --git a/lua/config/mason_update_all.lua b/lua/config/mason_update_all.lua new file mode 100644 index 0000000..657e386 --- /dev/null +++ b/lua/config/mason_update_all.lua @@ -0,0 +1,19 @@ +--[[ + Copyright 2023 Oscar Wallberg + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + https://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +]] + +-- https://github.com/RubixDev/mason-update-all + +require("mason-update-all").setup() diff --git a/lua/plugins.lua b/lua/plugins.lua index b27e0c6..38bb09b 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -187,6 +187,10 @@ local plugins = { build = ":Neorg sync-parsers", config = function () require("config.neorg") end, }, + { + "RubixDev/mason-update-all", + config = function () require("config.mason_update_all") end, + }, } local opts = {}