From 24e23de721bb8ddc042e0f11f44f4ff2ff7ebb0b Mon Sep 17 00:00:00 2001 From: bfredl Date: Wed, 20 May 2026 21:02:00 +0200 Subject: fix(lua): use even safer and even better error() message conversion problem: this crashes neovim: ondska = setmetatable({}, {__tostring = error}) error(ondska) solution: make it not crash neovim --- test/functional/lua/thread_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/lua/thread_spec.lua') diff --git a/test/functional/lua/thread_spec.lua b/test/functional/lua/thread_spec.lua index e4ff2b8068..1232b3843d 100644 --- a/test/functional/lua/thread_spec.lua +++ b/test/functional/lua/thread_spec.lua @@ -32,7 +32,7 @@ describe('thread', function() {1:~ }|*5 {3: }| {9:Luv thread:} | - {9:[NULL]} | + {9:nil} | {6:Press ENTER or type command to continue}^ | ]]) feed('') -- cgit