mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-18 21:27:42 +00:00
Fix variable scope in mason configuration
This commit is contained in:
parent
38aadc3eaa
commit
3f8b9e8c83
@ -1,10 +1,10 @@
|
||||
local M = {}
|
||||
|
||||
local opts = {mason = {}, lspconfig = {automatic_installation = true}}
|
||||
Opts = {mason = {}, lspconfig = {automatic_installation = true}}
|
||||
|
||||
M.setup = function() require('mason').setup(opts.mason) end
|
||||
M.setup = function() require('mason').setup(Opts.mason) end
|
||||
|
||||
M.lspconfig_setup =
|
||||
function() require('mason-lspconfig').setup(opts.lspconfig) end
|
||||
function() require('mason-lspconfig').setup(Opts.lspconfig) end
|
||||
|
||||
return M
|
||||
|
Loading…
Reference in New Issue
Block a user