diff options
author | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-05-11 02:33:56 +0300 |
---|---|---|
committer | Daniil Rozanov <daniilrozzanov@gmail.com> | 2024-05-11 02:33:56 +0300 |
commit | 23425f9eeba9c02b9a2d98d53f1354bc9402200e (patch) | |
tree | cce6e2cdbdbed9717b0b823b52702836cc152b8b /lua/cmake/lazy.lua | |
parent | 5854acabba7f9301f666b570803609ee865f3f31 (diff) |
Diffstat (limited to 'lua/cmake/lazy.lua')
-rw-r--r-- | lua/cmake/lazy.lua | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lua/cmake/lazy.lua b/lua/cmake/lazy.lua index 7669dcd..c9b4a2f 100644 --- a/lua/cmake/lazy.lua +++ b/lua/cmake/lazy.lua @@ -7,15 +7,15 @@ local lazy = {} ---@param require_path string ---@return table lazy.require = function(require_path) - return setmetatable({}, { - __index = function(_, key) - return require(require_path)[key] - end, + return setmetatable({}, { + __index = function(_, key) + return require(require_path)[key] + end, - __newindex = function(_, key, value) - require(require_path)[key] = value - end, - }) + __newindex = function(_, key, value) + require(require_path)[key] = value + end, + }) end return lazy |