Use core.reload_module instead of style.load
This commit is contained in:
1 parent
1fc0409163
commit
3a38ded396
3 files changed
+4
-8
No files matched your search
@@ -53,10 +53,4 @@ style.syntax["string"] = { common.color "#f7c95c" }
|
||||
style.syntax["operator"] = { common.color "#93DDFA" }
|
||||
style.syntax["function"] = { common.color "#93DDFA" }
|
||||
|
||||
|
||||
style.load = function(module_name)
|
||||
package.loaded[module_name] = nil
|
||||
require(module_name)
|
||||
end
|
||||
|
||||
return style
|
||||
Reference in new issue
Block a user