From 6549f12af82dcf3fc204a0e2e5caf60acc7af477 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 29 Aug 2021 12:09:29 +0200 Subject: do not use lspc.log before lspc is initialized --- parser.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'parser.lua') diff --git a/parser.lua b/parser.lua index f1b09f5..9dffb43 100644 --- a/parser.lua +++ b/parser.lua @@ -1,11 +1,9 @@ -- Copyright (c) 2021 Florian Fischer. All rights reserved. -- Use of this source code is governed by a MIT license found in the LICENSE file. - -- Parse the data send by a language server -- Note the chunks received may not end with the end of a message. -- In the worst case a data chunk contains two partial messages on at the beginning -- and one at the end - local function add(p, data) p.data = p.data .. data -- cgit v1.2.3