Split Mason config to own file

This commit is contained in:
Marko Korhonen 2022-09-03 15:51:09 +03:00
parent 2630f0a26f
commit a1bb9b97f4
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 22 additions and 7 deletions

View file

@ -0,0 +1,10 @@
local M = {}
local opts = {mason = {}, lspconfig = {automatic_installation = true}}
M.setup = function() require('mason').setup(opts.mason) end
M.lspconfig_setup =
function() require('mason-lspconfig').setup(opts.lspconfig) end
return M