fix bug in opts setup

This commit is contained in:
marshmallow 2023-07-22 12:04:25 +10:00
parent da8c98632c
commit 2f431e8f8e
No known key found for this signature in database
GPG key ID: 767B8880F5AAEB9C

View file

@ -3,7 +3,7 @@ local M = {
}
function M.setup(opts)
opts = opts or opts
opts = opts or {}
M.langs = opts.langs and opts.langs or {}
M.load_paths = opts.load_paths and opts.load_paths or {}