Split Mason config to own file

This commit is contained in:
Marko Korhonen 2022-09-03 15:51:09 +03:00
parent 65f2fd46a2
commit fe2ee02bad
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