Skip to content

Commit

Permalink
chore: fix botched GenLSP upgrade (#162)
Browse files Browse the repository at this point in the history
You have to set the buffer now, this should probably have raised and
should be fixed in GenLSP.
  • Loading branch information
mhanberg authored Aug 11, 2023
1 parent ccebfff commit 2b83c33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/next_ls/lsp_supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ defmodule NextLS.LSPSupervisor do
{DynamicSupervisor, name: NextLS.DynamicSupervisor},
{Task.Supervisor, name: NextLS.TaskSupervisor},
{Task.Supervisor, name: :runtime_task_supervisor},
{GenLSP.Buffer, buffer_opts},
{GenLSP.Buffer, [name: NextLS.Buffer] ++ buffer_opts},
{NextLS.DiagnosticCache, name: :diagnostic_cache},
{Registry, name: NextLS.Registry, keys: :duplicate},
{NextLS,
buffer: NextLS.Buffer,
cache: :diagnostic_cache,
task_supervisor: NextLS.TaskSupervisor,
runtime_task_supervisor: :runtime_task_supervisor,
Expand Down

0 comments on commit 2b83c33

Please sign in to comment.