File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
apps/language_server/lib/language_server/experimental/protocol/proto Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ defmodule ElixirLS.LanguageServer.Experimental.Protocol.Proto.Notification do
30
30
unquote ( build_parse ( method ) )
31
31
32
32
def new ( opts \\ [ ] ) do
33
- % __MODULE__ { lsp: LSP . new ( opts ) }
33
+ % __MODULE__ { lsp: LSP . new ( opts ) , method: unquote ( method ) }
34
34
end
35
35
36
36
def to_elixir ( % __MODULE__ { } = request ) do
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ defmodule ElixirLS.LanguageServer.Experimental.Protocol.Proto.Request do
37
37
unquote ( build_parse ( method ) )
38
38
39
39
def new ( opts \\ [ ] ) do
40
- % __MODULE__ { lsp: LSP . new ( opts ) }
40
+ raw = LSP . new ( opts )
41
+ % __MODULE__ { lsp: raw , id: raw . id , method: unquote ( method ) }
41
42
end
42
43
43
44
def to_elixir ( % __MODULE__ { } = request ) do
You can’t perform that action at this time.
0 commit comments