Skip to content

Commit 2b83c33

Browse files
authored
chore: fix botched GenLSP upgrade (#162)
You have to set the buffer now, this should probably have raised and should be fixed in GenLSP.
1 parent ccebfff commit 2b83c33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/next_ls/lsp_supervisor.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,11 @@ defmodule NextLS.LSPSupervisor do
5555
{DynamicSupervisor, name: NextLS.DynamicSupervisor},
5656
{Task.Supervisor, name: NextLS.TaskSupervisor},
5757
{Task.Supervisor, name: :runtime_task_supervisor},
58-
{GenLSP.Buffer, buffer_opts},
58+
{GenLSP.Buffer, [name: NextLS.Buffer] ++ buffer_opts},
5959
{NextLS.DiagnosticCache, name: :diagnostic_cache},
6060
{Registry, name: NextLS.Registry, keys: :duplicate},
6161
{NextLS,
62+
buffer: NextLS.Buffer,
6263
cache: :diagnostic_cache,
6364
task_supervisor: NextLS.TaskSupervisor,
6465
runtime_task_supervisor: :runtime_task_supervisor,

0 commit comments

Comments
 (0)