diff options
author | Caleb Maclennan <caleb@alerque.com> | 2022-07-22 13:00:31 +0300 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2022-07-22 14:04:45 +0300 |
commit | 59b90c49c2b6891272435dbf7cd37a42fe26a9a9 (patch) | |
tree | 71978e3fa5eec71431cb006e30f6c782b89b93c3 /lua | |
parent | 26704146b0926218b9df796a454dd2dd1ed38e9f (diff) |
fix(compat): Correct quoting on rawget call
Diffstat (limited to 'lua')
-rw-r--r-- | lua/pl/compat.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/pl/compat.lua b/lua/pl/compat.lua index 7791009..dfcb91d 100644 --- a/lua/pl/compat.lua +++ b/lua/pl/compat.lua @@ -225,7 +225,7 @@ end -- This functions mimics the `warn` function added in Lua 5.4. -- @function warn -- @param ... any arguments -if not rawget(_G, warn) then +if not rawget(_G, "warn") then local enabled = false local function warn(arg1, ...) if type(arg1) == "string" and arg1:sub(1, 1) == "@" then |