aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-08-07 19:12:21 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2024-08-07 19:12:21 +0200
commitb3d42f02b054111572d44c14625a009237af0bd5 (patch)
tree48f4e59f4ce115613898977d5b82973687cce0d6
parentf870e380992139bae4b507f02834fac146297305 (diff)
downloadvis-lspc-b3d42f02b054111572d44c14625a009237af0bd5.tar.gz
vis-lspc-b3d42f02b054111572d44c14625a009237af0bd5.zip
pass the opened file along lspc.events.LS_DID_OPEN events
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 7017cfc..de496d7 100644
--- a/init.lua
+++ b/init.lua
@@ -1258,7 +1258,7 @@ local function lspc_open(ls, win, file)
end)
end
- vis.events.emit(lspc.events.LS_DID_OPEN, ls)
+ vis.events.emit(lspc.events.LS_DID_OPEN, ls, file)
end
-- Initiate the shutdown of a language server