From 2f431e8f8ea676e2ae769c4d95a5a76e0d33d5fb Mon Sep 17 00:00:00 2001 From: marshmallow Date: Sat, 22 Jul 2023 12:04:25 +1000 Subject: [PATCH] fix bug in opts setup --- lua/orgmode-babel/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/orgmode-babel/init.lua b/lua/orgmode-babel/init.lua index e1f4fd9..b076c7f 100644 --- a/lua/orgmode-babel/init.lua +++ b/lua/orgmode-babel/init.lua @@ -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 {}