Got python.lua to finally import opts propery
This commit is contained in:
1 parent
f0d04cad7f
commit
ccfe27c1e6
4 files changed
+55
-81
No files matched your search
@@ -49,6 +49,7 @@ end
|
||||
|
||||
function M.setup(opts)
|
||||
opts = opts or {}
|
||||
M.config.setup(opts)
|
||||
for lang, user_opts in pairs(opts) do
|
||||
local default = M.config.defaults[lang] or {}
|
||||
M.config.user_config[lang] = vim.tbl_deep_extend("force", default, user_opts)
|
||||
|
||||
Reference in new issue
Block a user