From dc17ab2fb051efceafddc3b97ebe9f67c775e9b7 Mon Sep 17 00:00:00 2001 From: mhsn Date: Wed, 22 Jan 2025 00:44:19 +0000 Subject: split plugins into separate files and other changes --- lua/plugins/mason.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lua/plugins/mason.lua (limited to 'lua/plugins/mason.lua') diff --git a/lua/plugins/mason.lua b/lua/plugins/mason.lua new file mode 100644 index 0000000..01132d7 --- /dev/null +++ b/lua/plugins/mason.lua @@ -0,0 +1,20 @@ +return { + { "neovim/nvim-lspconfig" }, + { + "williamboman/mason.nvim", + opts = {}, + }, + { + "williamboman/mason-lspconfig.nvim", + dependencies = { "mason.nvim" }, + config = function() + require("mason-lspconfig").setup({ + handlers = { + function(lsp) + require("lspconfig")[lsp].setup({}) + end, + }, + }) + end, + }, +} -- cgit v1.2.3