From 68484a2f17583428308427fd16c494e5ba204bc5 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 16 Nov 2023 16:10:26 +0100 Subject: use a global mapping of open files This allows us to support opening a single file in multiple language server instances. This can be useful when combining for example a latex and a language tool language server. --- lspc.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lspc.lua') diff --git a/lspc.lua b/lspc.lua index 453f7b0..6ced4c6 100644 --- a/lspc.lua +++ b/lspc.lua @@ -18,6 +18,7 @@ local lspc = { -- mapping language server names to their state tables running = {}, + open_files = {}, name = 'vis-lspc', version = '0.1.8', -- write log messages to lspc.log_file -- cgit v1.2.3