From a3ca054371b753dd98580bd13ffb4ca2713018f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6ran=20Karl?= <3951388+JoeKar@users.noreply.github.com> Date: Fri, 5 Apr 2024 11:26:16 +0200 Subject: [PATCH] buffer: Uncomment `InitRuntimeFiles(false)` in the buffer_test.go ...since we fixed the race between the syntax highlighting and the buffer editing. --- internal/buffer/buffer_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/buffer/buffer_test.go b/internal/buffer/buffer_test.go index dcfde610..7d7602e4 100644 --- a/internal/buffer/buffer_test.go +++ b/internal/buffer/buffer_test.go @@ -20,9 +20,7 @@ type operation struct { func init() { ulua.L = lua.NewState() - // TODO: uncomment InitRuntimeFiles once we fix races between syntax - // highlighting and buffer editing. - // config.InitRuntimeFiles(false) + config.InitRuntimeFiles(false) config.InitGlobalSettings() config.GlobalSettings["backup"] = false config.GlobalSettings["fastdirty"] = true