summaryrefslogtreecommitdiff
path: root/script/global.d.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-05-10 17:44:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-05-10 17:44:34 +0800
commit7318bbba9808b94c59202d301ac4faf4dc7f1f5a (patch)
tree9d82c000652aa31d9770677ba41eadb36874c938 /script/global.d.lua
parentd7e59826b5dec2d6f4b9ba59f6d64af42c078edd (diff)
downloadlua-language-server-7318bbba9808b94c59202d301ac4faf4dc7f1f5a.zip
support connecting by socket with `--socket=PORT`
Diffstat (limited to 'script/global.d.lua')
-rw-r--r--script/global.d.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/script/global.d.lua b/script/global.d.lua
index c120c153..f84ff0e4 100644
--- a/script/global.d.lua
+++ b/script/global.d.lua
@@ -73,3 +73,7 @@ COMPILECORES = 0
-- TODO: delete this after new config
---@diagnostic disable-next-line: lowercase-global
jit = false
+
+-- connect to client by socket
+---@type integer
+SOCKET = 0